Click or drag to resize

QueryBuilderCreateQueryTModel Method (ExpressionFuncTModel, Boolean, ModelSortTModel)

Create a query

Namespace:  SanteDB.DisconnectedClient.SQLite.Query
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
public SqlStatement CreateQuery<TModel>(
	Expression<Func<TModel, bool>> predicate,
	ModelSort<TModel>[] orderBy
)

Parameters

predicate
Type: System.Linq.ExpressionsExpressionFuncTModel, Boolean

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

orderBy
Type: SanteDB.Core.Model.QueryModelSortTModel

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

Type Parameters

TModel

[Missing <typeparam name="TModel"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Query.QueryBuilder.CreateQuery``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},SanteDB.Core.Model.Query.ModelSort{``0}[])"]

Return Value

Type: SqlStatement

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

See Also