Click or drag to resize

IRelationCollectionGetUsedEntityTypeNamesAndAliases 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.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
void GetUsedEntityTypeNamesAndAliases(
	MultiValueHashtable<string, string> entityNamesPerAlias,
	Dictionary<string, string> artificialAliasPerEntity
)

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)
See Also