Click or drag to resize

AdoCdssLibraryRepositoryExecuteQueryOrm Method

Execute a query for the specified model with query identifier returning the results

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

Parameters

context  DataContext
The DataContext that the query will be executed with.
query  ExpressionFuncICdssLibrary, 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