 | IdentifiedDataPersistenceServiceTModel, TDbModelDoQueryInternal Method |
Perform a query for the specified object
Namespace: SanteDB.Persistence.Data.Services.PersistenceAssembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntaxprotected override OrmResultSet<TDbModel> DoQueryInternal(
DataContext context,
Expression<Func<TModel, bool>> query,
bool allowCache = false
)
Protected Overrides Function DoQueryInternal (
context As DataContext,
query As Expression(Of Func(Of TModel, Boolean)),
Optional allowCache As Boolean = false
) As OrmResultSet(Of TDbModel)
protected:
virtual OrmResultSet<TDbModel>^ DoQueryInternal(
DataContext^ context,
Expression<Func<TModel, bool>^>^ query,
bool allowCache = false
) override
abstract DoQueryInternal :
context : DataContext *
query : Expression<Func<'TModel, bool>> *
?allowCache : bool
(* Defaults:
let _allowCache = defaultArg allowCache false
*)
-> OrmResultSet<'TDbModel>
override DoQueryInternal :
context : DataContext *
query : Expression<Func<'TModel, bool>> *
?allowCache : bool
(* Defaults:
let _allowCache = defaultArg allowCache false
*)
-> OrmResultSet<'TDbModel> Parameters
- context DataContext
- The context on which the query should be executed
- query ExpressionFuncTModel, Boolean
- The query in the model format which should be executed
- allowCache Boolean (Optional)
- True if using the ad-hoc cache is permitted
Return Value
OrmResultSetTDbModelThe delay executed result set which represents the query
See Also