DynamicRelationBase Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The DynamicRelationBase type exposes the following members.
Name | Description | |
---|---|---|
DynamicRelationBase | Initializes a new instance of the DynamicRelationBase class |
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.
| |
LeftOperand |
Gets the left operand. Can be either a DerivedTableDefinition or an entity field (IEntityFieldCore)
| |
LeftOperandInheritanceInfo |
Gets the left operand's InheritanceInfo
| |
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
| |
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
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInheritanceProvider |
Gets the inheritance provider for inheritance info retrieval for entity operands
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitClass |
Inits the class.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetLeftOperandPersistenceInfo |
Sets the left operand persistence info.
| |
SetRightOperandPersistenceInfo |
Sets the right operand persistence info.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
IRelationGetUsedEntityTypeNamesAndAliases |
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.
| |
IRelationHintTargetNameLeftOperand |
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.
| |
IRelationHintTargetNameRightOperand |
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.
| |
IRelationReadXml |
Deserializes the object data on the xml reader into this instance
| |
IRelationStartElementIsPkSide |
Returns true if the start element of the relation (the left operand) is the Pkside.
| |
IRelationToggleArtificialAliasingForTargetPerEntityRelations |
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.
| |
IRelationWriteXml |
Serializes the object as xml to the writer specified.
|