IDynamicRelation Interface |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The IDynamicRelation type exposes the following members.
Name | Description | |
---|---|---|
AliasLeftOperand |
Gets the alias for the left operand.
(Inherited from IRelation.) | |
AliasRightOperand |
Gets the alias for the right operand.
(Inherited from IRelation.) | |
HintTargetNameLeftOperand |
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.) | |
HintTargetNameRightOperand |
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.) | |
JoinType |
The join type to use. If right operand is null and left operand is a DerivedTableDefinition, this value is ignored.
(Inherited from IRelation.) | |
LeftOperand |
Gets the left operand. Can be either a DerivedTableDefinition or an entity field (IEntityFieldCore)
| |
LeftOperandInheritanceInfo |
Gets the left operand's InheritanceInfo
(Inherited from IRelation.) | |
LeftOperandIsDerivedTable |
Returns true of the left operand Is a DerivedTableDefinition
| |
LeftOperandPersistenceInfo |
Gets the persistence info for the left operand. Is null if left operand is a DerivedTableDefinition instead of an IEntityFieldCore
| |
OnClause |
Gets the On clause filter for the On clause in the join. Should be null if a cross-join is used.
| |
RightOperand |
Gets the right operand. Can be either a DerivedTableDefinition or an entity field (IEntityFieldCore) or null (left operand then has to be a
DerivedTableDefinition)
| |
RightOperandInheritanceInfo |
Gets the right operand's InheritanceInfo
(Inherited from IRelation.) | |
RightOperandIsDerivedTable |
Returns true of the right operand Is a DerivedTableDefinition
| |
RightOperandPersistenceInfo |
Gets the persistence info for the right operand. Is null if right operand is a DerivedTableDefinition instead of an IEntityFieldCore
| |
StartElementIsPkSide |
Returns true if the start element of the relation (the left operand) is the Pkside.
(Inherited from IRelation.) |
Name | Description | |
---|---|---|
GetUsedEntityTypeNamesAndAliases |
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.) | |
ReadXml |
Deserializes the object data on the xml reader into this instance
(Inherited from IRelation.) | |
SetLeftOperandPersistenceInfo |
Sets the left operand persistence info.
| |
SetRightOperandPersistenceInfo |
Sets the right operand persistence info.
| |
ToggleArtificialAliasingForTargetPerEntityRelations |
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.) | |
WriteXml |
Serializes the object as xml to the writer specified.
(Inherited from IRelation.) |