Click or drag to resize

IDynamicRelation Interface

Interface definition for the DynamicRelation class. This interface is implemented on the DynamicRelationBase class.

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
public interface IDynamicRelation : IRelation

The IDynamicRelation type exposes the following members.

Properties
  NameDescription
Public propertyAliasLeftOperand
Gets the alias for the left operand.
(Inherited from IRelation.)
Public propertyAliasRightOperand
Gets the alias for the right operand.
(Inherited from IRelation.)
Public propertyHintTargetNameLeftOperand
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.
(Inherited from IRelation.)
Public propertyHintTargetNameRightOperand
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.
(Inherited from IRelation.)
Public propertyJoinType
The join type to use. If right operand is null and left operand is a DerivedTableDefinition, this value is ignored.
(Inherited from IRelation.)
Public propertyLeftOperand
Gets the left operand. Can be either a DerivedTableDefinition or an entity field (IEntityFieldCore)
Public propertyLeftOperandInheritanceInfo
Gets the left operand's InheritanceInfo
(Inherited from IRelation.)
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
(Inherited from IRelation.)
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
Public propertyStartElementIsPkSide
Returns true if the start element of the relation (the left operand) is the Pkside.
(Inherited from IRelation.)
Top
Methods
  NameDescription
Public methodGetUsedEntityTypeNamesAndAliases
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.
(Inherited from IRelation.)
Public methodReadXml
Deserializes the object data on the xml reader into this instance
(Inherited from IRelation.)
Public methodSetLeftOperandPersistenceInfo
Sets the left operand persistence info.
Public methodSetRightOperandPersistenceInfo
Sets the right operand persistence info.
Public methodToggleArtificialAliasingForTargetPerEntityRelations
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.
(Inherited from IRelation.)
Public methodWriteXml
Serializes the object as xml to the writer specified.
(Inherited from IRelation.)
Top
See Also