Click or drag to resize

DbSpecificCreatorBaseFindRealAlias 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.6.0.0 (5.6.19.0117)
Syntax
public 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.

Implements

IDbSpecificCreatorFindRealAlias(String, String, String, Boolean)
See Also