Click or drag to resize

EntityDerivedPersistenceServiceTEntity, TDbEntitySubTableExecuteQueryOrm Method

Execute the specified query on the specified object

Namespace: SanteDB.Persistence.Data.Services.Persistence.Entities
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public override IOrmResultSet ExecuteQueryOrm(
	DataContext context,
	Expression<Func<TEntity, bool>> query
)

Parameters

context  DataContext
The DataContext that the query will be executed with.
query  ExpressionFuncTEntity, Boolean
The query to execute

Return Value

IOrmResultSet
The amount of results to return

Implements

IMappedQueryProviderTModelExecuteQueryOrm(DataContext, ExpressionFuncTModel, Boolean)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when context or query is null.
See Also