| 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
)
Function Find (
query As Expression(Of Func(Of TEntity, Boolean)),
offset As Integer,
count As Integer?,
<OutAttribute> ByRef totalResults As Integer,
queryId As Guid,
ParamArray orderBy As ModelSort(Of TEntity)()
) As IEnumerable(Of TEntity)
IEnumerable<TEntity>^ Find(
Expression<Func<TEntity, bool>^>^ query,
int offset,
Nullable<int> count,
[OutAttribute] int% totalResults,
Guid queryId,
... array<ModelSort<TEntity>>^ orderBy
)
abstract Find :
query : Expression<Func<'TEntity, bool>> *
offset : int *
count : Nullable<int> *
totalResults : int byref *
queryId : Guid *
orderBy : ModelSort<'TEntity>[] -> IEnumerable<'TEntity>
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