IRelation Interface |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The IRelation type exposes the following members.
Name | Description | |
---|---|---|
AliasLeftOperand |
Gets the alias for the left operand.
| |
AliasRightOperand |
Gets the alias for the right operand.
| |
JoinType |
The join type to use. If right operand is null and left operand is a DerivedTableDefinition, this value is ignored.
| |
LeftOperandInheritanceInfo |
Gets the left operand's InheritanceInfo
| |
RightOperandInheritanceInfo |
Gets the right operand's InheritanceInfo
| |
StartElementIsPkSide |
Returns true if the start element of the relation (the left operand) is the Pkside.
|
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.
| |
ReadXml |
Deserializes the object data on the xml reader into this instance
| |
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.
| |
WriteXml |
Serializes the object as xml to the writer specified.
|