Click or drag to resize

GenericLocalRepositoryTEntityFind Method (ExpressionFuncTEntity, Boolean, Int32, NullableInt32, Int32, ModelSortTEntity)

Perform a normal find

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

Parameters

query
Type: System.Linq.ExpressionsExpressionFuncTEntity, Boolean

[Missing <param name="query"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.GenericLocalRepository`1.Find(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{`0}[])"]

offset
Type: SystemInt32

[Missing <param name="offset"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.GenericLocalRepository`1.Find(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{`0}[])"]

count
Type: SystemNullableInt32

[Missing <param name="count"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.GenericLocalRepository`1.Find(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{`0}[])"]

totalResults
Type: SystemInt32

[Missing <param name="totalResults"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.GenericLocalRepository`1.Find(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{`0}[])"]

orderBy
Type: SanteDB.Core.Model.QueryModelSortTEntity

[Missing <param name="orderBy"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.GenericLocalRepository`1.Find(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{`0}[])"]

Return Value

Type: IEnumerableTEntity

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

Implements

IRepositoryServiceTModelFind(ExpressionFuncTModel, Boolean, Int32, NullableInt32, Int32, ModelSortTModel)
See Also