Click or drag to resize

IQueryBuilderHackHackQuery Method

Hacks the query in some manner

Namespace:  SanteDB.OrmLite
Assembly:  SanteDB.OrmLite (in SanteDB.OrmLite.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,
	params KeyValuePair<string, Object>[] queryFilter
)

Parameters

builder
Type: SanteDB.OrmLiteQueryBuilder

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

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

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

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

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

predicate
Type: SanteDB.OrmLiteQueryPredicate
The current predicate
values
Type: SystemObject

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

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

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

Return Value

Type: Boolean

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

See Also