DbSpecificCreatorBaseCreateFieldName Method (IFieldPersistenceInfo, String, String, Boolean, String, String) |
Creats a valid field name based on the passed in IFieldPersistenceInfo implementation. The fieldname is
ready to use in queries and contains all pre/postfix characters required.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax public virtual string CreateFieldName(
IFieldPersistenceInfo persistenceInfo,
string fieldName,
string objectAlias,
bool appendAlias,
string containingObjectName,
string actualContainingObjectName
)
Public Overridable Function CreateFieldName (
persistenceInfo As IFieldPersistenceInfo,
fieldName As String,
objectAlias As String,
appendAlias As Boolean,
containingObjectName As String,
actualContainingObjectName As String
) As String
Parameters
- persistenceInfo
- Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
IFieldPersistenceInfo instance used to formulate the fieldname - fieldName
- Type: SystemString
name of the entity field, to determine if an alias is required - objectAlias
- Type: SystemString
Alias of object the field maps to. Only specified when called from a predicate. - appendAlias
- Type: SystemBoolean
When true, the routine should construct an alias construction statement. - containingObjectName
- Type: SystemString
Name of the containing object which defined the field with name fieldName. - actualContainingObjectName
- Type: SystemString
Name of the containing object which actually holds the field with the name fieldname.
Return Value
Type:
StringValid field name for usage with the target database.
Implements
IDbSpecificCreatorCreateFieldName(IFieldPersistenceInfo, String, String, Boolean, String, String)See Also