Click or drag to resize

DynamicRelationBase Class

Abstract base class for the DynamicRelation class which is generated. Dynamic relations have always their left operand defined as the 'pk' side if applicable.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesDynamicRelationBase

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
[SerializableAttribute]
public abstract class DynamicRelationBase : IDynamicRelation, 
	IRelation

The DynamicRelationBase type exposes the following members.

Constructors
  NameDescription
Protected methodDynamicRelationBase
Initializes a new instance of the DynamicRelationBase class
Top
Properties
  NameDescription
Public propertyAliasLeftOperand
Gets the alias for the left operand.
Public propertyAliasRightOperand
Gets the alias for the right operand.
Public propertyJoinType
The join type to use. If right operand is null and left operand is a DerivedTableDefinition, this value is ignored.
Public propertyLeftOperand
Gets the left operand. Can be either a DerivedTableDefinition or an entity field (IEntityFieldCore)
Public propertyLeftOperandInheritanceInfo
Gets the left operand's InheritanceInfo
Public propertyLeftOperandIsDerivedTable
Returns true of the left operand Is a DerivedTableDefinition
Public propertyLeftOperandPersistenceInfo
Gets the persistence info for the left operand. Is null if left operand is a DerivedTableDefinition instead of an IEntityFieldCore
Public propertyOnClause
Gets the On clause filter for the On clause in the join. Should be null if a cross-join is used.
Public propertyRightOperand
Gets the right operand. Can be either a DerivedTableDefinition or an entity field (IEntityFieldCore) or null (left operand then has to be a DerivedTableDefinition)
Public propertyRightOperandInheritanceInfo
Gets the right operand's InheritanceInfo
Public propertyRightOperandIsDerivedTable
Returns true of the right operand Is a DerivedTableDefinition
Public propertyRightOperandPersistenceInfo
Gets the persistence info for the right operand. Is null if right operand is a DerivedTableDefinition instead of an IEntityFieldCore
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.)
Protected methodGetInheritanceProvider
Gets the inheritance provider for inheritance info retrieval for entity operands
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInitClass
Inits the class.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetLeftOperandPersistenceInfo
Sets the left operand persistence info.
Public methodSetRightOperandPersistenceInfo
Sets the right operand persistence info.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIRelationGetUsedEntityTypeNamesAndAliases
Gets per alias specified in a relation all entity names covered by that alias. This means that if an entity in a relation is based on multiple entities (through inheritance) it will return all entity names the entity is based on, from the actual entity to the root of the hierarchy path and every entity name in between. Also, if the relation contains derived tables, the fields filed under the alias of the derived table are returned.
Explicit interface implementationPrivate propertyIRelationHintTargetNameLeftOperand
Gets the name of the left operand for hint targeting. This is either AliasLeftOperand, or if that's empty the containing entity name of the left operand field, if applicable otherwise an empty string.
Explicit interface implementationPrivate propertyIRelationHintTargetNameRightOperand
Gets the name of the right operand for hint targeting. This is either AliasRightOperand, or if that's empty the containing entity name of the right operand field, if applicable otherwise an empty string.
Explicit interface implementationPrivate methodIRelationReadXml
Deserializes the object data on the xml reader into this instance
Explicit interface implementationPrivate propertyIRelationStartElementIsPkSide
Returns true if the start element of the relation (the left operand) is the Pkside.
Explicit interface implementationPrivate methodIRelationToggleArtificialAliasingForTargetPerEntityRelations
Enables / disables the artificial aliasing for target per entity relations. This method is used to enable the artificial aliasing of entities which are in a hierarchy of TargetPerEntity and which are in this relation. This is switched on for dyn/typedlist fetches to be sure dyn/typedlists with fields from multiple entities in the same inheritance hierarchy will be retrievable properly, as they need aliasing under the hood but if the developer didn't alias the entities, the query will fail because the supertype(s) aren't joined multiple types.
Explicit interface implementationPrivate methodIRelationWriteXml
Serializes the object as xml to the writer specified.
Top
See Also