Click or drag to resize

QueryBuilderCreateQueryTModel Method (ExpressionFuncTModel, Boolean, ColumnMapping)

Create a query

Namespace:  SanteDB.OrmLite
Assembly:  SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 2.2.1
Syntax
public SqlStatement CreateQuery<TModel>(
	Expression<Func<TModel, bool>> predicate,
	params ColumnMapping[] selector
)

Parameters

predicate
Type: System.Linq.ExpressionsExpressionFuncTModel, Boolean

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

selector
Type: SanteDB.OrmLiteColumnMapping

[Missing <param name="selector"/> documentation for "M:SanteDB.OrmLite.QueryBuilder.CreateQuery``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},SanteDB.OrmLite.ColumnMapping[])"]

Type Parameters

TModel

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

Return Value

Type: SqlStatement

[Missing <returns> documentation for "M:SanteDB.OrmLite.QueryBuilder.CreateQuery``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},SanteDB.OrmLite.ColumnMapping[])"]

See Also