Click or drag to resize

IQueryBuilderHackHackQuery Method

Hacks the query in some manner

Namespace:  SanteDB.DisconnectedClient.SQLite.Query
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
bool HackQuery(
	QueryBuilder builder,
	SqlStatement sqlStatement,
	SqlStatement whereClause,
	Type tmodel,
	PropertyInfo property,
	string queryPrefix,
	QueryPredicate predicate,
	Object values,
	IEnumerable<TableMapping> scopedTables
)

Parameters

builder
Type: SanteDB.DisconnectedClient.SQLite.QueryQueryBuilder

[Missing <param name="builder"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Query.IQueryBuilderHack.HackQuery(SanteDB.DisconnectedClient.SQLite.Query.QueryBuilder,SanteDB.DisconnectedClient.SQLite.Query.SqlStatement,SanteDB.DisconnectedClient.SQLite.Query.SqlStatement,System.Type,System.Reflection.PropertyInfo,System.String,SanteDB.DisconnectedClient.SQLite.Query.QueryPredicate,System.Object,System.Collections.Generic.IEnumerable{SanteDB.DisconnectedClient.SQLite.Query.TableMapping})"]

sqlStatement
Type: SanteDB.DisconnectedClient.SQLite.QuerySqlStatement
The current vanilla (no WHERE clause) query
whereClause
Type: SanteDB.DisconnectedClient.SQLite.QuerySqlStatement
The current where clause
tmodel
Type: SystemType

[Missing <param name="tmodel"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Query.IQueryBuilderHack.HackQuery(SanteDB.DisconnectedClient.SQLite.Query.QueryBuilder,SanteDB.DisconnectedClient.SQLite.Query.SqlStatement,SanteDB.DisconnectedClient.SQLite.Query.SqlStatement,System.Type,System.Reflection.PropertyInfo,System.String,SanteDB.DisconnectedClient.SQLite.Query.QueryPredicate,System.Object,System.Collections.Generic.IEnumerable{SanteDB.DisconnectedClient.SQLite.Query.TableMapping})"]

property
Type: System.ReflectionPropertyInfo
The property which is currently being hacked
queryPrefix
Type: SystemString

[Missing <param name="queryPrefix"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Query.IQueryBuilderHack.HackQuery(SanteDB.DisconnectedClient.SQLite.Query.QueryBuilder,SanteDB.DisconnectedClient.SQLite.Query.SqlStatement,SanteDB.DisconnectedClient.SQLite.Query.SqlStatement,System.Type,System.Reflection.PropertyInfo,System.String,SanteDB.DisconnectedClient.SQLite.Query.QueryPredicate,System.Object,System.Collections.Generic.IEnumerable{SanteDB.DisconnectedClient.SQLite.Query.TableMapping})"]

predicate
Type: SanteDB.DisconnectedClient.SQLite.QueryQueryPredicate
The current predicate
values
Type: SystemObject

[Missing <param name="values"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Query.IQueryBuilderHack.HackQuery(SanteDB.DisconnectedClient.SQLite.Query.QueryBuilder,SanteDB.DisconnectedClient.SQLite.Query.SqlStatement,SanteDB.DisconnectedClient.SQLite.Query.SqlStatement,System.Type,System.Reflection.PropertyInfo,System.String,SanteDB.DisconnectedClient.SQLite.Query.QueryPredicate,System.Object,System.Collections.Generic.IEnumerable{SanteDB.DisconnectedClient.SQLite.Query.TableMapping})"]

scopedTables
Type: System.Collections.GenericIEnumerableTableMapping
The tables that are scoped for the current query

Return Value

Type: Boolean

[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.SQLite.Query.IQueryBuilderHack.HackQuery(SanteDB.DisconnectedClient.SQLite.Query.QueryBuilder,SanteDB.DisconnectedClient.SQLite.Query.SqlStatement,SanteDB.DisconnectedClient.SQLite.Query.SqlStatement,System.Type,System.Reflection.PropertyInfo,System.String,SanteDB.DisconnectedClient.SQLite.Query.QueryPredicate,System.Object,System.Collections.Generic.IEnumerable{SanteDB.DisconnectedClient.SQLite.Query.TableMapping})"]

See Also