InterfaceIQueryBuilder
Definition
Namespace:Telerik.OpenAccess.SPI
Assembly:Telerik.OpenAccess.dll
Syntax:
public interface IQueryBuilder
Methods
AddHavingToGrouping(object, object)
Declaration
void AddHavingToGrouping(object grpNode, object conditions)
Parameters
grpNode
object
conditions
object
AddSubQuery(object, object)
Declaration
void AddSubQuery(object sub, object of)
Parameters
sub
object
of
object
AppendChild(object, object)
Declaration
void AppendChild(object parent, object child)
Parameters
parent
object
child
object
AppendChildListOf(object, object, bool)
Declaration
void AppendChildListOf(object parent, object src, bool copy)
Parameters
parent
object
src
object
copy
bool
AppendCollectionJoin(Type, object, Type, object, string, out object, List<object>)
Declaration
object AppendCollectionJoin(Type leftType, object leftIter, Type rightType, object rightField, string varName, out object joinNode, List<object> foundVars)
Parameters
leftType
Type
leftIter
object
rightType
Type
rightField
object
varName
string
joinNode
object
foundVars
List<object>
Returns
object
AppendJoin(Type, Type, object, object, bool, bool[], out object, List<object>)
Declaration
object AppendJoin(Type leftClass, Type rightClass, object fldLeft, object fldRight, bool outer, bool[] nullAware, out object joinNode, List<object> foundVars)
Parameters
leftClass
Type
rightClass
Type
fldLeft
object
fldRight
object
outer
bool
nullAware
bool[]
joinNode
object
foundVars
List<object>
Returns
object
AppendMethodParameters(object, object[], object)
Declaration
object AppendMethodParameters(object methodNode, object[] para, object instance)
Parameters
methodNode
object
para
object[]
instance
object
Returns
object
AppendNext(object, object)
Declaration
void AppendNext(object ln, object o)
Parameters
ln
object
o
object
AppendProperty(object, MemberInfo)
Declaration
object AppendProperty(object parent, MemberInfo memberInfo)
Parameters
parent
object
memberInfo
MemberInfo
Returns
object
BindVarNode(object, object)
Declaration
object BindVarNode(object vNode, object joinNode)
Parameters
vNode
object
joinNode
object
Returns
object
CollectionTest(object, object)
Declaration
object CollectionTest(object instance, object varNode)
Parameters
instance
object
varNode
object
Returns
object
Combine(object, string, object)
Declaration
object Combine(object l, string op, object r)
Parameters
l
object
op
string
r
object
Returns
object
Convert(Type, Type, object)
Declaration
object Convert(Type f, Type t, object x)
Parameters
f
Type
t
Type
x
object
Returns
object
ConvertFieldNode(object, Type)
Declaration
object ConvertFieldNode(object node, Type type)
Parameters
node
object
type
Type
Returns
object
Copy(object, bool)
Declaration
object Copy(object parent, bool childListOnly)
Parameters
parent
object
childListOnly
bool
Returns
object
CorrectProjectionType(object)
Declaration
object CorrectProjectionType(object o)
Parameters
o
object
Returns
object
CorrectPureBoolean(object)
Declaration
object CorrectPureBoolean(object o)
Parameters
o
object
Returns
object
CorrectReservedFieldNode(object)
Declaration
object CorrectReservedFieldNode(object o)
Parameters
o
object
Returns
object
CreateAggregateNode(object, string, Type)
Declaration
object CreateAggregateNode(object child, string op, Type resultType)
Parameters
child
object
op
string
resultType
Type
Returns
object
CreateBinaryOpNode(char)
Declaration
object CreateBinaryOpNode(char op)
Parameters
op
char
Returns
object
CreateBooleanOpNode(object, object, object, string)
Declaration
object CreateBooleanOpNode(object parent, object left, object right, string op)
Parameters
parent
object
left
object
right
object
op
string
Returns
object
CreateCastNode(object, Type, bool, bool)
Declaration
object CreateCastNode(object child, Type to, bool exact, bool isCondition)
Parameters
child
object
to
Type
exact
bool
isCondition
bool
Returns
object
CreateClientSideExecution(int)
Declaration
object CreateClientSideExecution(int m)
Parameters
m
int
Returns
object
CreateCompareOpNode(object, object, object, string)
Declaration
object CreateCompareOpNode(object parent, object left, object right, string op)
Parameters
parent
object
left
object
right
object
op
string
Returns
object
CreateFieldNode(object, Type, string, bool)
Declaration
object CreateFieldNode(object parent, Type type, string name, bool considerNavigation)
Parameters
parent
object
type
Type
name
string
considerNavigation
bool
Returns
object
CreateFieldNode(object, Type, string, bool, out object, bool)
Declaration
object CreateFieldNode(object parent, Type type, string name, bool considerNavigation, out object newParent, bool morphVar)
Parameters
parent
object
type
Type
name
string
considerNavigation
bool
newParent
object
morphVar
bool
Returns
object
CreateGroupingNode(object)
Declaration
object CreateGroupingNode(object toGroup)
Parameters
toGroup
object
Returns
object
CreateLiteralNode(object, Type, object, bool)
Declaration
object CreateLiteralNode(object parent, Type type, object val, bool wash)
Parameters
parent
object
type
Type
val
object
wash
bool
Returns
object
CreateMethodNode(MethodInfo, string, Type)
Declaration
object CreateMethodNode(MethodInfo mb, string id, Type resultType)
Parameters
mb
MethodInfo
id
string
resultType
Type
Returns
object
CreateOrderNode(bool)
Declaration
object CreateOrderNode(bool ascending)
Parameters
ascending
bool
Returns
object
CreateParamNode(string, Type, bool)
Declaration
object CreateParamNode(string name, Type type, bool washing)
Parameters
name
string
type
Type
washing
bool
Returns
object
CreateParamUsage(object)
Declaration
object CreateParamUsage(object param)
Parameters
param
object
Returns
object
CreatePullParamNode(string, Type)
Declaration
object CreatePullParamNode(string name, Type t)
Parameters
name
string
t
Type
Returns
object
CreateQuery(IObjectScope, Type, string, QueryOptionsImp)
Declaration
IQuery CreateQuery(IObjectScope scope, Type target, string key, QueryOptionsImp options)
Parameters
scope
target
Type
key
string
options
Returns
CreateReservedFieldNode(object, Type, string)
Declaration
object CreateReservedFieldNode(object parent, Type type, string name)
Parameters
parent
object
type
Type
name
string
Returns
object
CreateResultNode(bool, bool)
Declaration
object CreateResultNode(bool distinct, bool firstOnly)
Parameters
distinct
bool
firstOnly
bool
Returns
object
CreateSubQueryNode(Type, string)
Declaration
object CreateSubQueryNode(Type t, string id)
Parameters
t
Type
id
string
Returns
object
CreateSubQueryUsage(object)
Declaration
object CreateSubQueryUsage(object sq)
Parameters
sq
object
Returns
object
CreateUnaryNode()
Declaration
object CreateUnaryNode()
Returns
object
CreateUnaryOperationNode(object, string)
Declaration
object CreateUnaryOperationNode(object child, string op)
Parameters
child
object
op
string
Returns
object
CreateUpperCaseNode(object)
Declaration
object CreateUpperCaseNode(object child)
Parameters
child
object
Returns
object
CreateUserDefinedMethod(Type, string, object[])
Declaration
object CreateUserDefinedMethod(Type type, string sql, object[] args)
Parameters
type
Type
sql
string
args
object[]
Returns
object
CreateVarNode(string, Type, bool, object, List<object>)
Declaration
object CreateVarNode(string name, Type type, bool findExisting, object coll, List<object> foundVar)
Parameters
name
string
type
Type
findExisting
bool
coll
object
foundVar
List<object>
Returns
object
CreateVarNodeUsage(object)
Declaration
object CreateVarNodeUsage(object varNode)
Parameters
varNode
object
Returns
object
DeepestField(object)
Declaration
object DeepestField(object x)
Parameters
x
object
Returns
object
DefaultIfEmpty(object)
Declaration
object DefaultIfEmpty(object v)
Parameters
v
object
Returns
object
FixProjection(object, Type)
Declaration
object FixProjection(object o, Type t)
Parameters
o
object
t
Type
Returns
object
ForModification()
Declaration
void ForModification()
GetBackendQuery(IQuery, object[])
Declaration
string GetBackendQuery(IQuery q, object[] o)
Parameters
q
o
object[]
Returns
string
GetCategory(object, Type, out Type)
Declaration
int GetCategory(object n, Type collectionType, out Type elementType)
Parameters
n
object
collectionType
Type
elementType
Type
Returns
int
GetChildListCopy(object)
Declaration
object[] GetChildListCopy(object o)
Parameters
o
object
Returns
object[]
GetClassMeta(Type)
Declaration
object GetClassMeta(Type type)
Parameters
type
Type
Returns
object
GetCompiledParameterNames(IQuery)
Declaration
string[] GetCompiledParameterNames(IQuery q)
Parameters
q
Returns
string[]
GetFieldMeta(MemberInfo)
Declaration
object GetFieldMeta(MemberInfo memberInfo)
Parameters
memberInfo
MemberInfo
Returns
object
GetFieldType(object, string)
Declaration
Type GetFieldType(object pc, string fieldName)
Parameters
pc
object
fieldName
string
Returns
Type
GetGroupResolutionInformation(IQuery, ref object)
Declaration
object[] GetGroupResolutionInformation(IQuery q, ref object groupResolutionNode)
Parameters
q
groupResolutionNode
object
Returns
object[]
GetGroupingInformation(IQuery)
Declaration
object GetGroupingInformation(IQuery q)
Parameters
q
Returns
object
GetProjection()
Declaration
object GetProjection()
Returns
object
GetResultConverter(IQuery)
Declaration
object GetResultConverter(IQuery q)
Parameters
q
Returns
object
GetTypeInformation(object)
Declaration
Type GetTypeInformation(object n)
Parameters
n
object
Returns
Type
HasChildren(object)
Declaration
bool HasChildren(object node)
Parameters
node
object
Returns
bool
HasProjection()
Declaration
bool HasProjection()
Returns
bool
IsKnownBaseType(Type)
Declaration
bool IsKnownBaseType(Type type)
Parameters
type
Type
Returns
bool
IsPersistent(Type)
Declaration
bool IsPersistent(Type type)
Parameters
type
Type
Returns
bool
Map(ConstructorInfo, object)
Declaration
object Map(ConstructorInfo ci, object args)
Parameters
ci
ConstructorInfo
args
object
Returns
object
NotSupported(MethodBase, string)
Declaration
Exception NotSupported(MethodBase mi, string expression)
Parameters
mi
MethodBase
expression
string
Returns
Exception
RequiresParameterWashing(object)
Declaration
bool RequiresParameterWashing(object methodNode)
Parameters
methodNode
object
Returns
bool
ResetParent(object)
Declaration
void ResetParent(object o)
Parameters
o
object
ResolveAlias(MemberInfo)
Declaration
string ResolveAlias(MemberInfo mi)
Parameters
mi
MemberInfo
Returns
string
RestrictToType(object, Type)
Declaration
bool RestrictToType(object parent, Type t)
Parameters
parent
object
t
Type
Returns
bool
ReverseOrderings(List<object>)
Declaration
void ReverseOrderings(List<object> o)
Parameters
o
List<object>
SetCandidate(object)
Declaration
void SetCandidate(object varNode)
Parameters
varNode
object
SetFilter(object, object)
Declaration
void SetFilter(object o, object q)
Parameters
o
object
q
object
SetGroupResolutionInformation(object, object[], object)
Declaration
void SetGroupResolutionInformation(object groupResolutionNode, object[] grpResParams, object q)
Parameters
groupResolutionNode
object
grpResParams
object[]
q
object
SetGrouping(object, object)
Declaration
object SetGrouping(object o, object q)
Parameters
o
object
q
object
Returns
object
SetGroupingInformation(object)
Declaration
void SetGroupingInformation(object g)
Parameters
g
object
SetOrdering(object[], object)
Declaration
void SetOrdering(object[] o, object q)
Parameters
o
object[]
q
object
SetPaging(object, object)
Declaration
void SetPaging(object skip, object take)
Parameters
skip
object
take
object
SetParameterTransformation(object, ParameterTransformation)
Declaration
bool SetParameterTransformation(object p, ParameterTransformation trafo)
Parameters
p
object
trafo
Returns
bool
SetParameters(object[], object)
Declaration
void SetParameters(object[] o, object q)
Parameters
o
object[]
q
object
SetProjection(object, object, object)
Declaration
void SetProjection(object o, object converter, object q)
Parameters
o
object
converter
object
q
object
SetSource(object, Type, string)
Declaration
void SetSource(object node, Type type, string source)
Parameters
node
object
type
Type
source
string
SetSubQueryExtent(object, object, object)
Declaration
void SetSubQueryExtent(object coll, object varia, object subquery)
Parameters
coll
object
varia
object
subquery
object
SetUpdate(List<KeyValuePair<string, object>>, object, Type)
Declaration
void SetUpdate(List<KeyValuePair<string, object>> updates, object q, Type elemType)
Parameters
updates
List<KeyValuePair<string, object>>
q
object
elemType
Type
SetVariables(List<object>, object)
Declaration
void SetVariables(List<object> l, object q)
Parameters
l
List<object>
q
object
WrapConversion(object, Type)
Declaration
object WrapConversion(object o, Type t)
Parameters
o
object
t
Type
Returns
object