Click or drag to resize

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

Perform a stored query

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

Parameters

query
Type: System.Linq.ExpressionsExpressionFuncTData, Boolean

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

queryId
Type: SystemGuid

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

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.Guid,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.Guid,System.Int32,System.Nullable{System.Int32},System.Int32@,System.Security.Principal.IPrincipal,SanteDB.Core.Model.Query.ModelSort{`0}[])"]

totalCount
Type: SystemInt32

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

overrideAuthContext
Type: System.Security.PrincipalIPrincipal

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

Implements

IStoredQueryDataPersistenceServiceTEntityQuery(ExpressionFuncTEntity, Boolean, Guid, Int32, NullableInt32, Int32, IPrincipal, ModelSortTEntity)
See Also