DynamicRelationBaseIRelationGetUsedEntityTypeNamesAndAliases Method |
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.
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 void IRelation.GetUsedEntityTypeNamesAndAliases(
MultiValueHashtable<string, string> entityNamesPerAlias,
Dictionary<string, string> artificialAliasPerEntity
)
Private Sub GetUsedEntityTypeNamesAndAliases (
entityNamesPerAlias As MultiValueHashtable(Of String, String),
artificialAliasPerEntity As Dictionary(Of String, String)
) Implements IRelation.GetUsedEntityTypeNamesAndAliases
Parameters
- entityNamesPerAlias
- Type: SD.LLBLGen.Pro.ORMSupportClassesMultiValueHashtableString, String
Entity names per alias multivaluehashtable: per alias (key) all entity names are stored in a uniquevaluelist. - artificialAliasPerEntity
- Type: System.Collections.GenericDictionaryString, String
The artificial alias per entity. This collection contains per entity (key) the artificial alias (value), IF
such an artificial alias has been given out. (only done with entities which are part of a hierarchy of type TargetPerEntity)
Implements
IRelationGetUsedEntityTypeNamesAndAliases(MultiValueHashtableString, String, DictionaryString, String)See Also