Click or drag to resize

IdentifiedDataPersistenceServiceTModel, TDbModelDoQueryInternal Method

Perform a query for the specified object

Namespace: SanteDB.Persistence.Data.Services.Persistence
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
protected override OrmResultSet<TDbModel> DoQueryInternal(
	DataContext context,
	Expression<Func<TModel, bool>> query,
	bool allowCache = false
)

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

OrmResultSetTDbModel
The delay executed result set which represents the query
See Also