QuerySpec Properties |
The QuerySpec type exposes the following members.
Name | Description | |
---|---|---|
Alias |
Gets or sets the alias.
| |
CustomFunctionMappingStore |
Gets or sets the optional custom function mapping store. A custom function mapping store takes precedence over the function mapping store
obtained from the Dynamic Query Engine (DQE) used for producing the SQL for the query. If a custom function mapping store is needed for a query,
set this property only on the query object passed to the execution method. No need to set it on inner query objects.
| |
IsPrepared |
Gets a value indicating whether this instance is prepared.
| |
NestedQueries |
Gets the nested queries defined for this query. By default this is an empty list, and only filled with nested queries if this query is a dynamic query
and it contains one or more nested queries
| |
OnPrepareForExecutionCallBack |
Gets or sets the call back lambda which is called after this query has been prepared for execution. Use this method to tap into the
execution chain to do last-minute query object manipulation / inspection prior to the actual fetch action.
| |
RawFromClause |
Gets the last clause on the from clause set list or null if nothing is there. Used with unwrapping tvf calls.
| |
ResultsetElementType |
Gets the type of the resultset element.
| |
TargetAlias |
Gets the target alias.
| |
UseAliasForOuterAliasOnly |
Gets or sets a value indicating whether the 'Alias' value should be used only for the query's alias (true) or for target aliasing as well if
there's no target alias set (false, default). Set to true when the query is converted to a derived table.
|
Name | Description | |
---|---|---|
IQuerySpecAlias |
Gets or sets the alias.
| |
IQuerySpecAllowDuplicates |
Gets AllowDuplicates (default is true, if Distinct() is specified, this value is false).
| |
IQuerySpecCustomFunctionMappingStore |
Gets the optional custom function mapping store. A custom function mapping store takes precedence over the function mapping store
obtained from the Dynamic Query Engine (DQE) used for producing the SQL for the query. If a custom function mapping store is needed for a query,
| |
IQuerySpecFromClause |
Gets the from clause, which is the prepared from clause, created from the raw clause.
| |
IQuerySpecGroupByClause |
Gets the prepared group by clause.
| |
IQuerySpecLimit |
Gets the limit value specified
| |
IQuerySpecNestedQueries |
Gets the nested queries defined for this query. By default this is an empty list, and only filled with nested queries if this query is a dynamic query
and it contains one or more nested queries
| |
IQuerySpecOffset |
Gets the offset value specified
| |
IQuerySpecOrderByClause |
Gets the prepared order by clause.
| |
IQuerySpecResultsetElementType |
Gets the type of the resultset element.
| |
IQuerySpecResultsetType |
Gets the type of the resultset. For DynamicQuery instances this is List<object>, for DynamicQuery<T> this is List<T>, and for
EntityQuery<T>, this is either an IEntityCollection or IEntityCollection2 created for the type T.
| |
IQuerySpecTargetAlias |
Gets the target alias.
| |
IQuerySpecWhereClause |
Gets the prepared where clause.
|