Click or drag to resize

SQLitePersistenceServiceBaseTDataQuery Method (ExpressionFuncTData, Boolean, Int32, NullableInt32, Int32, IPrincipal, ModelSortTData)

Query the specified data

Namespace:  SanteDB.DisconnectedClient.SQLite
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
public virtual IEnumerable<TData> Query(
	Expression<Func<TData, bool>> query,
	int offset,
	int? count,
	out int totalResults,
	IPrincipal principal,
	params ModelSort<TData>[] orderBy
)

Parameters

query
Type: System.Linq.ExpressionsExpressionFuncTData, Boolean
Query.
offset
Type: SystemInt32

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

count
Type: SystemNullableInt32

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

totalResults
Type: SystemInt32

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

principal
Type: System.Security.PrincipalIPrincipal

[Missing <param name="principal"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.SQLitePersistenceServiceBase`1.Query(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Security.Principal.IPrincipal,SanteDB.Core.Model.Query.ModelSort{`0}[])"]

orderBy
Type: SanteDB.Core.Model.QueryModelSortTData

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

Return Value

Type: IEnumerableTData

[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.SQLite.SQLitePersistenceServiceBase`1.Query(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Security.Principal.IPrincipal,SanteDB.Core.Model.Query.ModelSort{`0}[])"]

Implements

IDataPersistenceServiceTDataQuery(ExpressionFuncTData, Boolean, Int32, NullableInt32, Int32, IPrincipal, ModelSortTData)
See Also