Click or drag to resize

IPersistableQueryRepositoryServiceTEntityFind Method (ExpressionFuncTEntity, Boolean, Int32, NullableInt32, Int32, Guid, ModelSortTEntity)

Performs a query which

Namespace:  SanteDB.Core.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
IEnumerable<TEntity> Find(
	Expression<Func<TEntity, bool>> query,
	int offset,
	int? count,
	out int totalResults,
	Guid queryId,
	params ModelSort<TEntity>[] orderBy
)

Parameters

query
Type: System.Linq.ExpressionsExpressionFuncTEntity, Boolean
The query to be executed
offset
Type: SystemInt32
The offset
count
Type: SystemNullableInt32
The number of results
totalResults
Type: SystemInt32
The total results in the query
queryId
Type: SystemGuid
The unique identifier for the query
orderBy
Type: SanteDB.Core.Model.QueryModelSortTEntity
The order instructions to append to the query

Return Value

Type: IEnumerableTEntity

[Missing <returns> documentation for "M:SanteDB.Core.Services.IPersistableQueryRepositoryService`1.Find(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Guid,SanteDB.Core.Model.Query.ModelSort{`0}[])"]

See Also