Click or drag to resize

IMappedQueryProviderTModelExecuteQueryOrm Method

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

Namespace: SanteDB.OrmLite.MappedResultSets
Assembly: SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntax
IOrmResultSet ExecuteQueryOrm(
	DataContext context,
	Expression<Func<TModel, bool>> query
)

Parameters

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

Return Value

IOrmResultSet
The amount of results to return
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when context or query is null.
See Also