Click or drag to resize

JoinResultExpression Class

Special expression class which is used in expression tree handling to represent a JoinResult, which is a select and also a result of a join. The type is used to make a distinction between a normal select and a JoinResult with a projection: if the JoinSelectExpression is the source of a SelectExpression, or other expression which has a projection, the contained projection of this select is ignored. This class is required because in Linq, a select's projection is combined with the join result projection if the join is followed by a select.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses.ExpressionClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public class JoinResultExpression : SelectExpression

The JoinResultExpression type exposes the following members.

Constructors
  NameDescription
Public methodJoinResultExpression
Initializes a new instance of the JoinResultExpression class.
Top
Properties
  NameDescription
Public propertyAlias
Gets or sets the Alias assigned to this set.
(Inherited from SetExpression.)
Public propertyAllowDuplicates
Gets or sets a value indicating whether the select allows duplicate rows (no distinct) or not (distinct).
(Inherited from SelectExpression.)
Public propertyCacheDuration
Gets or sets the duration how long the cached resultset should stay in the cache.
(Inherited from SelectExpression.)
Public propertyCacheResultset
Gets or sets a value indicating whether the resultset of this query has to be cached or not.
(Inherited from SelectExpression.)
Public propertyCacheTag
Gets or sets the tag the resultset should be cached under. By default this is the empty string (no tag)
(Inherited from SelectExpression.)
Public propertyCanReduce
Indicates that the node can be reduced to a simpler node. If this returns true, Reduce() can be called to produce the reduced form.
(Inherited from Expression.)
Public propertyContainedAliases
Gets or sets the AliasContainer which contains the aliases inside this direct set which are reachable only INSIDE this set. If null, it has no aliases directly inside this set, it can be the source might have contained aliases.
(Inherited from SetExpression.)
Public propertyExcludeIncludeFields
gets or sets the excludeincludefields expression for the select.
(Inherited from SelectExpression.)
Public propertyFilter
Gets or sets the filter for the select
(Inherited from SelectExpression.)
Public propertyIsExtractionLocked
Gets or sets a value indicating whether this instance is extraction locked, which means a where/orderby extractor won't touch it.
(Inherited from SetExpression.)
Public propertyNodeType
Gets the node type of this Expression.
(Inherited from CommonExpression.)
Public propertyOverwriteIfPresent
Gets or sets a value indicating whether the cached resultset should be
(Inherited from SelectExpression.)
Public propertyPrefetchPathDefinition
Gets or sets the prefetch path definition.
(Inherited from SelectExpression.)
Public propertyProjection
Gets or sets the projection of the select
(Inherited from SelectExpression.)
Public propertyRequiresProjection
Flag which is set if this set requires a projection to be usable. This flag is later on used to determine if a projection has to be injected into the processing result of this set if there's none defined (true), or not (false). Default is false;
(Inherited from SetExpression.)
Public propertyReverseOrderBy
Gets or sets the flag to reverse the order by in a resulting query (change ascending into descending and vice versa).
(Inherited from SelectExpression.)
Public propertyRowsToSkip
Gets or sets the number of rows to skip.
(Inherited from SelectExpression.)
Public propertyRowsToTake
Gets or sets the number of rows to take. 0 == all rows
(Inherited from SelectExpression.)
Public propertySorter
Gets or sets the sort expression to use in this select.
(Inherited from SelectExpression.)
Public propertySource
Gets or sets the source expression of the select
(Inherited from SetExpression.)
Public propertyType
Gets the static type of the expression that this Expression represents.
(Inherited from CommonExpression.)
Public propertyUnionedQueries
Set of unioned queries with this set expression
(Inherited from SetExpression.)
Public propertyUnionedQueriesSpecified
Gets whether there are unioned queries in this query (true) or not (false)
(Inherited from SetExpression.)
Public propertyWithTies
Gets or sets the directive to use WITH TIES in a Take call if an order by is specified.
(Inherited from SelectExpression.)
Top
Methods
  NameDescription
Protected methodAccept
Dispatches to the specific visit method for this node type. For example, MethodCallExpression calls the VisitMethodCall(MethodCallExpression).
(Inherited from Expression.)
Public methodAddSortClause
Adds the sort clause.
(Inherited from SelectExpression.)
Public methodAppendUnionedQuery
Appends the query specified as a unioned query with the operator specified.
(Inherited from SetExpression.)
Public methodAssignNewAliasIfRequired
Assigns a new alias to this set, if necessary
(Inherited from SetExpression.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHandle
Handles this instance using the specified handler.
(Overrides SelectExpressionHandle(ScopeHandlerBase).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMergeUnionedQueries
Merges the specified union list into the set expression's unionlist.
(Inherited from SetExpression.)
Protected methodNewAliasAssigned
A new alias was set, using AssignNewAliasIfRequired. Use this method to map a wrapped expression to the alias set in the tracker passed in.
(Inherited from SetExpression.)
Public methodReduce
Reduces this node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method can return another node which itself must be reduced.
(Inherited from Expression.)
Public methodReduceAndCheck
Reduces this node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method can return another node which itself must be reduced.
(Inherited from Expression.)
Public methodReduceExtensions
Reduces the expression to a known node type (that is not an Extension node) or just returns the expression if it is already a known type.
(Inherited from Expression.)
Public methodSetRequiresProjectionFlag
Sets the RequiresProjection flag if this expression isn't an EntityExpression
(Inherited from SetExpression.)
Public methodToString
Returns a textual representation of the Expression.
(Inherited from SelectExpression.)
Protected methodVisitChildren
Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.
(Inherited from Expression.)
Top
See Also