Click or drag to resize

DbSpecificCreatorBaseFindRealAlias Method (String, String, String)

Finds the real alias for the entity + objectalias combination. A real alias is necessary as an entity mapped onto multiple tables (through inheritance) is aliased with a single object alias but each target has to have a different real alias. Checks all scopes.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public string FindRealAlias(
	string containingObjectName,
	string objectAlias,
	string actualContainingObjectName
)

Parameters

containingObjectName
Type: SystemString
Name of the entity the holder of the objectAlias is defined in
objectAlias
Type: SystemString
Object alias.
actualContainingObjectName
Type: SystemString
The name of the entity the holder of the object alias is actually present in (is only different from entityName if holder is a subtype and did inherit the field)

Return Value

Type: String
the real alias for the entityname + objectAlias combination. If not found, objectAlias is returned.

Implements

IDbSpecificCreatorFindRealAlias(String, String, String)
See Also