Click or drag to resize
TypedListLinqJoinInfo Class
Helper class which is used by a TypedListLinqQueryChunkInfo and which contains the relevant info for a typed list relationship which represents a join. the information is stored in such a way that it's ready to use for producing linq queries, so right-joins are converted to left-joins automatically.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.GeneratorCoreTypedListLinqJoinInfo

Namespace: SD.LLBLGen.Pro.GeneratorCore
Assembly: SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public class TypedListLinqJoinInfo

The TypedListLinqJoinInfo type exposes the following members.

Constructors
  NameDescription
Public methodTypedListLinqJoinInfo
Initializes a new instance of the TypedListLinqJoinInfo class.
Top
Properties
  NameDescription
Public propertyFetchFromClauseAsNew
Gets a value indicating whether the from clause in the join fragment (from left in leftsrc join right in rightsrc ) should use the general source for new elements as source (so not an intermediate query). the join clause then automatically should use the intermediate query.
Public propertyHintForJoins
Gets or sets the hint for joins, as to be used in linq queries. Can't be right-join as linq doesn't support right join
Public propertyLeftEntityAlias
Gets or sets the left entity alias instance
Public propertyLeftEntityName
Gets the name of the start entity.
Public propertyLeftFields
Gets or sets the fields for the left side of the join, for the ON clause
Public propertyLeftName
Gets or sets the name of the element at the left of the join operator
Public propertyLeftNameCamelCased
Gets the left name camel cased.
Public propertyLeftSideIsPkSide
Gets a value indicating whether the left side is the pk side (true) or not (false).
Public propertyRepresentedRelationship
Gets or sets the represented relationship.
Public propertyRightEntityAlias
Gets or sets the right entity alias instance
Public propertyRightEntityName
Gets the name of the end entity.
Public propertyRightFields
Gets or sets the fields for the right side of the join, for the ON clause
Public propertyRightName
Gets or sets the name of the element at the right of the join operator
Public propertyRightNameCamelCased
Gets the right name camel cased.
Top
Methods
  NameDescription
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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
In typedList relationships, the StartVertex is the entityalias which is joined with the EndVertex. This means: ENDvertex JoinHint JOIN STARTvertex. StartVertex is the entity joined with the entity already in the set, the EndVertex, and the JoinHint specified is true for that specific setup: EndVertex JoinHint StartVertex. Linq can't do right-joins (it doesn't have the construct to explicitly specify them) so EndVertex RIGHT JOIN StartVertex is converted to StartVertex LEFT JOIN EndVertex by this class. This means that startvertex/endvertex properties of this class already represent the proper elements to produce the right join in linq. To Help consuming code become less confusing, (as typedlist directed edges point to the left, similar to JOIN statements are performed), this class specifies everything in Left of the join operator and Right of the join operator, so LeftAlias means the alias at the left of the JOIN operator, LeftFields, means the fields of the LeftAlias for the ON clause. RightAlias is then the alias on the right of the join operator.
See Also