Click or drag to resize

SQLitePersistenceServiceBaseTDataQuery Method (SQLiteDataContext, ExpressionFuncTData, Boolean, Guid, Int32, Int32, Int32, Boolean, ModelSortTData)

Performs the actual query

Namespace:  SanteDB.DisconnectedClient.SQLite
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
public IEnumerable<TData> Query(
	SQLiteDataContext context,
	Expression<Func<TData, bool>> query,
	Guid queryId,
	int offset,
	int count,
	out int totalResults,
	bool countResults,
	ModelSort<TData>[] orderBy
)

Parameters

context
Type: SanteDB.DisconnectedClient.SQLiteSQLiteDataContext
Context.
query
Type: System.Linq.ExpressionsExpressionFuncTData, Boolean
Query.
queryId
Type: SystemGuid

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

offset
Type: SystemInt32

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

count
Type: SystemInt32

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

totalResults
Type: SystemInt32

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

countResults
Type: SystemBoolean

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

Return Value

Type: IEnumerableTData

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

See Also