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.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public string FindRealAlias(
string containingObjectName,
string objectAlias,
string actualContainingObjectName,
bool useParentScopes
)
Public Function FindRealAlias (
containingObjectName As String,
objectAlias As String,
actualContainingObjectName As String,
useParentScopes As Boolean
) 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) - 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