Click or drag to resize

EntityQueryTEntity Class

Entity query definition. Used to specify a query for fetching entities.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.QuerySpecQuerySpec
    SD.LLBLGen.Pro.QuerySpecEntityQueryTEntity

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public class EntityQuery<TEntity> : QuerySpec, 
	IEntityQuery, IQuerySpec, IContextAwareElement
where TEntity : IEntityCore

Type Parameters

TEntity
The type of the entity.

The EntityQueryTEntity type exposes the following members.

Constructors
  NameDescription
Public methodEntityQueryTEntity(IElementCreatorCore, Int32)
Initializes a new instance of the EntityQueryTEntity class.
Public methodEntityQueryTEntity(IElementCreatorCore, String, Int32)
Initializes a new instance of the EntityQueryTEntity class.
Top
Properties
  NameDescription
Public propertyAlias
Gets or sets the alias.
(Inherited from QuerySpec.)
Public propertyContextToUse
Gets or sets the context to use for the query. The context value set is used during entity fetches when no entity collection is passed to the fetch method.
Public propertyCustomFunctionMappingStore
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.
(Inherited from QuerySpec.)
Protected propertyIsPrepared
Gets a value indicating whether this instance is prepared.
(Inherited from QuerySpec.)
Protected propertyNestedQueries
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
(Inherited from QuerySpec.)
Public propertyOnPrepareForExecutionCallBack
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.
(Inherited from QuerySpec.)
Protected propertyRawFromClause
Gets the last clause on the from clause set list or null if nothing is there. Used with unwrapping tvf calls.
(Inherited from QuerySpec.)
Protected propertyResultsetElementType
Gets the type of the resultset element.
(Overrides QuerySpecResultsetElementType.)
Protected propertyTargetAlias
Gets the target alias.
(Inherited from QuerySpec.)
Protected propertyUseAliasForOuterAliasOnly
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.
(Inherited from QuerySpec.)
Top
Methods
  NameDescription
Protected methodAddAsRelation
Prepares the implementor by converting it to a relation object and adds it to the passed in relationcollection.
(Inherited from QuerySpec.)
Protected methodAddFieldToProjectionIfNotPresent
Adds the field to projection if not present already. Uses field alias checks. If this query is an entity query, it won't add any fields, only verify whether the field is present.
(Overrides QuerySpecAddFieldToProjectionIfNotPresent(IEntityFieldCore).)
Protected methodAddFromClauseDirective
Adds from clause directive.
(Inherited from QuerySpec.)
Protected methodAddFromClauseDirectives
Adds from clause directives.
(Inherited from QuerySpec.)
Protected methodAppendToPreparedWhereClauseWithAnd
Appends the predicate with And to the prepared where clause. Only used for appending additional filters to specified filters.
(Inherited from QuerySpec.)
Protected methodAppendUnionedQueriesToDerivedTable
Converts all unioned queries to derived tables and appends them as unioned queries to the derived table specified.
(Inherited from QuerySpec.)
Protected methodAssureAlias
Assures that the query has a proper alias. This is necessary for derived table generation, as derived tables need an alias.
(Inherited from QuerySpec.)
Public methodCastToTTargetType
Converts this instance into an EntityQuery<TTargetType>.
Protected methodCoerceToScalarQuery
Coerces this query to a scalar query expression
(Inherited from QuerySpec.)
Protected methodConvertToDynamicRelationOperand
Converts this instance to a dynamic relation operand.
(Overrides QuerySpecConvertToDynamicRelationOperand(IElementCreatorCore).)
Public methodCorrelatedOver(IEntityRelation)
Uses the specified relationship to construct a correlation predicate between this query (where TEntity should be the start entity of the relation specified) and a parent entity query. This method helps constructing correlation predicates without knowing the FK - PK relationships.
Public methodCorrelatedOver(IEntityRelation, String, String)
Uses the specified relationship to construct a correlation predicate between this query (where TEntity should be the start entity of the relation specified) and a parent entity query. This method helps constructing correlation predicates without knowing the FK - PK relationships.
Protected methodDetermineIfDerivedTableIsTargetInFieldCompareSetPredicate
Determines if the derived table variant of this query is the target when this query is used as the target of a field compare set predicate. Only true if query is an entity query and entity is an inheritance entity of TargetPerEntity.
(Overrides QuerySpecDetermineIfDerivedTableIsTargetInFieldCompareSetPredicate.)
Protected methodDetermineIfWrappingAsDerivedTableIsRequiredForScalarQuery
Determines if wrapping as derived table is required for scalar query. This overload looks at the prepared elements, and if a wrapping is required it will return true, otherwise false.
(Inherited from QuerySpec.)
Protected methodDetermineIfWrappingAsDerivedTableIsRequiredForScalarQuery(AggregateFunction)
Determines if wrapping as derived table is required for scalar query.
(Overrides QuerySpecDetermineIfWrappingAsDerivedTableIsRequiredForScalarQuery(AggregateFunction).)
Protected methodDetermineRealTargetAliasToUse
Determines the real target alias to use.
(Inherited from QuerySpec.)
Protected methodDetermineResultsetType
Determines the type of the resultset. This type is used to build resultset instances for hierarchy fetches.
(Overrides QuerySpecDetermineResultsetType.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodField
Creates a field which targets the projection of this query. Use this to easily create a derived table targeting field which targets this query.
(Inherited from QuerySpec.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodForBusinessTime
Specifies a temporal table predicate on source for the Business Time.
Public methodForSystemTime
Specifies a temporal table predicate on source for the System Time.
Protected methodGetAdditionalInfoAsString
Gets the additional info as string. For ToString().
(Inherited from QuerySpec.)
Protected methodGetAllFieldsFromProjection
Gets all fields from projection.
(Overrides QuerySpecGetAllFieldsFromProjection.)
Protected methodGetFromAsString
Gets from as string.
(Inherited from QuerySpec.)
Protected methodGetFromClauseDirectiveClones
Gets from clause directives as clones.
(Overrides QuerySpecGetFromClauseDirectiveClones.)
Protected methodGetGroupByAsString
Gets the group by as string.
(Inherited from QuerySpec.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetHavingAsString
Gets the having as string.
(Inherited from QuerySpec.)
Protected methodGetOrderByAsString
Gets the order by as string.
(Inherited from QuerySpec.)
Protected methodGetPrefetchPathAsString
Gets the prefetch path as string.
(Overrides QuerySpecGetPrefetchPathAsString(Int32).)
Protected methodGetProjectionAsEntityFields
Gets the projection as EntityFields object
(Overrides QuerySpecGetProjectionAsEntityFields.)
Protected methodGetProjectionAsEntityFields2
Gets the projection as EntityFields2 object
(Overrides QuerySpecGetProjectionAsEntityFields2.)
Protected methodGetProjectionAsString
Gets the projection as string.
(Inherited from QuerySpec.)
Protected methodGetQueryParameters
Gets the query parameters, built from the elements for the query inside this expression
(Overrides QuerySpecGetQueryParameters(FuncQuerySpec, IEntityFieldsCore, Boolean).)
Protected methodGetReplacementForQueryTarget
Gets the replacement for query target. By default this is the result of GetThisAsEmptyClone(). It will thrown an exception if the class isn't an entityquery, unless this method is overriden in a subtype.
(Inherited from QuerySpec.)
Protected methodGetThisAsEmptyClone
Gets the this as empty clone.
(Overrides QuerySpecGetThisAsEmptyClone(String).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetWhereAsString
Gets the where as string.
(Inherited from QuerySpec.)
Protected methodHandleUnwrapTvfCall
Handles the unwrap TVF call action.
(Overrides QuerySpecHandleUnwrapTvfCall.)
Protected methodIsEmpty
Determines whether this instance is empty.
(Overrides QuerySpecIsEmpty(Boolean).)
Protected methodMarkAsNotPrepared
Makes this query as being not prepared so it will be re-prepared the next time Prepare() is called.
(Inherited from QuerySpec.)
Protected methodMarkAsPrepared
Marks as prepared.
(Inherited from QuerySpec.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNotOfEntityTypeTEntityFilter
Sets the type filter of the query to a negated typefilter of the entity type specified as TEntityFilter. This means that all entities matching this query of type TEntityFilter or the (indirect) subtypes of TEntityFilter won't be fetched.
Public methodOfEntityTypeTEntityFilter
Sets the type filter of the query to the typefilter of the entity type specified as TEntityFilter. This means that all entities matching this query will be of type TEntityFilter or any of its (indirect) subtypes.
Protected methodOnPreparedForExecution
Called when PrepareForExecution has been completed successfully. Calls the lambda set in OnPrepareForExecutionCallBack, if set.
(Inherited from QuerySpec.)
Protected methodPrepare
Prepares the contents of this query to be executed.
(Overrides QuerySpecPrepare.)
Protected methodPrepareForExecution
Prepares this query for execution.
(Overrides QuerySpecPrepareForExecution(FunctionMappingStore).)
Protected methodRaiseQueryTargetUsageExceptionIfApplicable
Raises an exception if a QueryTarget was used in a query type which wasn't suitable for that. By default it does this
(Overrides QuerySpecRaiseQueryTargetUsageExceptionIfApplicable.)
Protected methodReplacePlaceHolders
Replaces the EntityQueryPlaceHolder objects with this instance
(Inherited from QuerySpec.)
Public methodSelect(Object)
Specifies the projection of the query. It clears any existing projection and sets the projection to the one specified.
Public methodSelectT(ExpressionFuncT)
Specifies the projection of the query. It clears any existing projection and sets the projection to the one specified. This variant converts the specified projectionFunc into the projector lambda to pass to WithProjector and extracts the elements to place in the SQL query's projection from the projectionFunc. Use this overload to specify a typed resultset.
Protected methodSetCorrelationPredicate
Sets the correlation predicate.
(Inherited from QuerySpec.)
Protected methodSetTargetAlias
Sets the target alias.
(Inherited from QuerySpec.)
Public methodTargetAs
Sets the target alias to the alias specified. By default this alias is the empty string. This alias is a different alias than the alias set with .As(string), as this alias is the alias on the target table(s), while .As(string) is the alias for the whole query.
Protected methodToDerivedTable
Converts this instance to a derived table definition.
(Overrides QuerySpecToDerivedTable.)
Public methodToString
Returns a String that represents this instance.
(Inherited from QuerySpec.)
Public methodToString(Int32)
Returns a String that represents this instance.
(Inherited from QuerySpec.)
Protected methodValidateForUnion
Validates this query whether it can be a unioned query in a parent query or not. Queries which contain nested queries or prefetch paths can't be unioned.
(Overrides QuerySpecValidateForUnion.)
Public methodWithHint(String)
Specifies a table/view hint for the target T is mapped on.
Public methodWithHint(String, HintType)
Specifies a hint for this query. It depends on the specified hintKind in what way the hint will be used: as a target hint or as a query hint.
Public methodWithPath
Specifies the prefetch path to use for this query. Prefetch paths are only used when this query is the outer query which is executed.
Top
Extension Methods
  NameDescription
Public Extension MethodAll
Creates a predicate which has to be true for all elements in query, which is equal to NOT EXISTS(QUERY.Where(NOT predicate))
(Defined by AllAnyPredicateProducers.)
Public Extension MethodAnyOverloaded.
Creates a predicate which has to be true it there's at least one element in query, which is equal to EXISTS(QUERY)
(Defined by AllAnyPredicateProducers.)
Public Extension MethodAny(IPredicate)Overloaded.
Creates a predicate which has to be true for at least one element in query, which is equal to EXISTS(QUERY.Where(predicate))
(Defined by AllAnyPredicateProducers.)
Public Extension MethodAsTEntity
Specifies the alias of the query as a whole. To set the alias of the target of the query, use TargetAs(alias).
(Defined by QuerySpecExtensionMethods.)
Public Extension MethodAvg(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the Avg() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodAvg(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the Avg() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodAvgDistinct(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the Avg(Distinct ) aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodAvgDistinct(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the Avg(Distinct ) aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodContains(IEntityCore)Overloaded.
Creates a predicate which has to be true if the query contains an entity which has the same PK values as the entityInstance specified
(Defined by ContainsPredicateProducers.)
Public Extension MethodContainsTEntity(EntityQueryTEntity)Overloaded.
Creates a predicate which has to be true if the query contains the entities in valueSupplierQuery
(Defined by ContainsPredicateProducers.)
Public Extension MethodCount(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the Count() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodCount(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the Count() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodCountBig(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the CountBig() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodCountBig(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the CountBig() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodCountBigDistinct(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the CountBig(Distinct ) aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodCountBigDistinct(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the CountBig(Distinct ) aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodCountBigRow
Creates a COUNT_BIG(*) query of the query specified, SQL Server specific
(Defined by ScalarQueryProducers.)
Public Extension MethodCountDistinct(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the Count(Distinct ) aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodCountDistinct(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the Count(Distinct ) aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodCountRow
Creates a COUNT(*) query of the query specified.
(Defined by ScalarQueryProducers.)
Public Extension MethodDistinctT
Sets the AllowDuplicates flag to false, so the query won't return duplicate rows.
(Defined by QuerySpecExtensionMethods.)
Public Extension MethodExceptTEntity(IEnumerableTEntity)Overloaded.
Specifies the where clause of the query by appending a predicate which is true for each entity in query which isn't in the list 'entities'
(Defined by QuerySpecExtensionMethods.)
Public Extension MethodExceptTEntity(EntityQueryTEntity)Overloaded.
Specifies the where clause of the query by appending a predicate which is true for each entity in query which isn't in toExclude.
(Defined by QuerySpecExtensionMethods.)
Public Extension MethodExcludeTEntity
Specifies the fields to exclude from the query, fetching all other fields not mentioned in the list of fields to exclude.
(Defined by QuerySpecExtensionMethods.)
Public Extension MethodGetFirstTEntityOverloaded.
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
(Defined by SelfServicingExtensionMethods.)
Public Extension MethodGetFirstTEntity(ITransaction)Overloaded.
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
(Defined by SelfServicingExtensionMethods.)
Public Extension MethodGetFirstAsyncTEntityOverloaded. (Defined by SelfServicingExtensionMethods.)
Public Extension MethodGetFirstAsyncTEntity(CancellationToken)Overloaded. (Defined by SelfServicingExtensionMethods.)
Public Extension MethodGetFirstAsyncTEntity(ITransaction)Overloaded. (Defined by SelfServicingExtensionMethods.)
Public Extension MethodGetFirstAsyncTEntity(ITransaction, CancellationToken)Overloaded. (Defined by SelfServicingExtensionMethods.)
Public Extension MethodGetSingleTEntityOverloaded.
Fetches the single entity of the set returned by the query and returns that entity. If there are no elements or more than 1 element, a NotSupportedException will be thrown.
(Defined by SelfServicingExtensionMethods.)
Public Extension MethodGetSingleTEntity(ITransaction)Overloaded.
Fetches the single entity of the set returned by the query and returns that entity. If there are no elements or more than 1 element, a NotSupportedException will be thrown.
(Defined by SelfServicingExtensionMethods.)
Public Extension MethodGetSingleAsyncTEntityOverloaded. (Defined by SelfServicingExtensionMethods.)
Public Extension MethodGetSingleAsyncTEntity(CancellationToken)Overloaded. (Defined by SelfServicingExtensionMethods.)
Public Extension MethodGetSingleAsyncTEntity(ITransaction)Overloaded. (Defined by SelfServicingExtensionMethods.)
Public Extension MethodGetSingleAsyncTEntity(ITransaction, CancellationToken)Overloaded. (Defined by SelfServicingExtensionMethods.)
Public Extension MethodIncludeTEntity
Specifies tht fields to include in the query, excluding all other fields not necessary for the fetch.
(Defined by QuerySpecExtensionMethods.)
Public Extension MethodIntersectTEntity(IEnumerableTEntity)Overloaded.
Specifies the where clause of the query by appending a predicate which is true for each entity in query which is also in the list 'entities'
(Defined by QuerySpecExtensionMethods.)
Public Extension MethodIntersectTEntity(EntityQueryTEntity)Overloaded.
Specifies the where clause of the query by appending a predicate which is true for each entity in query which is also in toInclude.
(Defined by QuerySpecExtensionMethods.)
Public Extension MethodMax(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the Max() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodMax(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the Max() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodMin(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the Min() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodMin(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the Min() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodStDev(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the StDev() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodStDev(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the StDev() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodStDevDistinct(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the StDev(Distinct ) aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodStDevDistinct(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the StDev(Distinct ) aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodSum(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the Sum() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodSum(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the Sum() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodSumDistinct(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the Sum(Distinct ) aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodSumDistinct(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the Sum(Distinct ) aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodToResultsetT
Placeholder method which is used in a Select(lambda func) projection inside the lambda to specify the type of the resultset of the passed in query.
(Defined by QuerySpecExtensionMethods.)
Public Extension MethodToScalarOverloaded.
Converts the specified query to a scalar query, without enforcing a row limit.
(Defined by ScalarQueryProducers.)
Public Extension MethodToScalar(Boolean)Overloaded.
Converts the specified query to a scalar query.
(Defined by ScalarQueryProducers.)
Public Extension MethodToSingleResultT
Placeholder method which is used in a Select(lambda func) projection inside the lambda to specify the type of the single result of the passed in query.
(Defined by QuerySpecExtensionMethods.)
Public Extension MethodUnionTEntity
Specifies the query toUnion which should be union-ed with query using the UNION operator
(Defined by QuerySpecExtensionMethods.)
Public Extension MethodUnionAllTEntity
Specifies the query toUnion which should be union-ed with query using the UNION ALL operator
(Defined by QuerySpecExtensionMethods.)
Public Extension MethodVariance(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the Variance() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodVariance(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the Variance() aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodVarianceDistinct(IEntityFieldCore)Overloaded.
Creates a scalar query over the specified query and aggregates the field specified with the Variance(Distinct ) aggregate function.
(Defined by ScalarQueryProducers.)
Public Extension MethodVarianceDistinct(IExpression)Overloaded.
Creates a scalar query over the specified query and aggregates the expression specified with the Variance(Distinct ) aggregate function.
(Defined by ScalarQueryProducers.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate propertyIContextAwareElementContextToUse
Gets or sets the context to use for the query. The context value set is used during entity fetches when no entity collection is passed to the fetch method.
Explicit interface implementationPrivate propertyIEntityQueryFieldsToIncludeExclude
Gets the fields to include exclude.
Explicit interface implementationPrivate propertyIEntityQueryPrefetchPath
Gets the prefetch path.
Explicit interface implementationPrivate methodIJoinOperandConvertToDynamicRelationOperand
Converts this instance to a dynamic relation operand.
(Inherited from QuerySpec.)
Explicit interface implementationPrivate methodIJoinOperandPrepare
Prepares the implementor by converting it to a relation object and adds it to the passed in relationcollection.
(Inherited from QuerySpec.)
Explicit interface implementationPrivate methodIJoinOperandUnwrapTvfCall
If this element is a tvf call container, and it's empty except for the tvf call, it will return the tvfcall it wraps, otherwise it will return itself.
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecAlias
Gets or sets the alias.
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecAllowDuplicates
Gets AllowDuplicates (default is true, if Distinct() is specified, this value is false).
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecCustomFunctionMappingStore
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,
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecFromClause
Gets the from clause, which is the prepared from clause, created from the plain clause.
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecGroupByClause
Gets the prepared group by clause.
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecLimit
Gets the limit value specified
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecNestedQueries
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
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecOffset
Gets the offset value specified
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecOrderByClause
Gets the prepared order by clause.
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecResultsetElementType
Gets the type of the resultset element.
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecResultsetType
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.
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecTargetAlias
Gets the target alias.
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecUnionedQueries
Gets the list of unioned queries with this query. Can be null, in which case no query is unioned with this query.
(Inherited from QuerySpec.)
Explicit interface implementationPrivate propertyIQuerySpecWhereClause
Gets the prepared where clause.
(Inherited from QuerySpec.)
Top
See Also