EntityFactoryCoreCreateHierarchyRelations Method (String) |
Creates the relations collection to the entity to join all targets so this entity can be fetched. Uses the passed in objectAlias as alias for
the elements in the relations.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax public virtual IRelationCollection CreateHierarchyRelations(
string objectAlias
)
Public Overridable Function CreateHierarchyRelations (
objectAlias As String
) As IRelationCollection
Parameters
- objectAlias
- Type: SystemString
The object alias to use for the elements in the relations.
Return Value
Type:
IRelationCollection
null if the entity isn't in a hierarchy of type TargetPerEntity, otherwise the relations collection needed to
join all targets together to fetch all subtypes of this entity and this entity itself
Implements
IEntityFactoryCoreCreateHierarchyRelations(String)See Also