IDbSpecificCreatorFindRealAlias 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.5.0.0 (5.5.18.1019)
Syntax string FindRealAlias(
string containingObjectName,
string objectAlias,
string actualContainingObjectName
)
Function FindRealAlias (
containingObjectName As String,
objectAlias As String,
actualContainingObjectName As String
) As String
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:
Stringthe real alias for the entityname + objectAlias combination. If not found, objectAlias is returned.
See Also