Click or drag to resize

QueryBuilderCreateQueryTModel Method (IEnumerableKeyValuePairString, Object, ModelSortTModel, ColumnMapping)

Create query

Namespace:  SanteDB.DisconnectedClient.SQLite.Query
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
public SqlStatement CreateQuery<TModel>(
	IEnumerable<KeyValuePair<string, Object>> query,
	ModelSort<TModel>[] orderBy,
	params ColumnMapping[] selector
)

Parameters

query
Type: System.Collections.GenericIEnumerableKeyValuePairString, Object

[Missing <param name="query"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Query.QueryBuilder.CreateQuery``1(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Object}},SanteDB.Core.Model.Query.ModelSort{``0}[],SanteDB.DisconnectedClient.SQLite.Query.ColumnMapping[])"]

orderBy
Type: SanteDB.Core.Model.QueryModelSortTModel

[Missing <param name="orderBy"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Query.QueryBuilder.CreateQuery``1(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Object}},SanteDB.Core.Model.Query.ModelSort{``0}[],SanteDB.DisconnectedClient.SQLite.Query.ColumnMapping[])"]

selector
Type: SanteDB.DisconnectedClient.SQLite.QueryColumnMapping

[Missing <param name="selector"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Query.QueryBuilder.CreateQuery``1(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Object}},SanteDB.Core.Model.Query.ModelSort{``0}[],SanteDB.DisconnectedClient.SQLite.Query.ColumnMapping[])"]

Type Parameters

TModel

[Missing <typeparam name="TModel"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Query.QueryBuilder.CreateQuery``1(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Object}},SanteDB.Core.Model.Query.ModelSort{``0}[],SanteDB.DisconnectedClient.SQLite.Query.ColumnMapping[])"]

Return Value

Type: SqlStatement

[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.SQLite.Query.QueryBuilder.CreateQuery``1(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Object}},SanteDB.Core.Model.Query.ModelSort{``0}[],SanteDB.DisconnectedClient.SQLite.Query.ColumnMapping[])"]

See Also