Click or drag to resize
IDbSpecificCreatorFindRealAlias Method (String, String, String, Boolean)
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.

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
string FindRealAlias(
	string containingObjectName,
	string objectAlias,
	string actualContainingObjectName,
	bool useParentScopes
)

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)
useParentScopes
Type: SystemBoolean
if set to true also the parent scopes are checked, otherwise only the scope at the top of the stack (the current scope)

Return Value

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