IDbSpecificCreatorCreateFieldNameSimple Method (IFieldPersistenceInfo, String) |
Creates 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. This field name is
not padded with an alias if that alias should be created. Effectively, this is the
same as CreateFieldNameSimple(field persistence info, fieldname, false);. The fieldname is 'simple' in that
it doesn't contain any catalog, schema or table references.
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 string CreateFieldNameSimple(
IFieldPersistenceInfo persistenceInfo,
string fieldName
)
Function CreateFieldNameSimple (
persistenceInfo As IFieldPersistenceInfo,
fieldName 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
Return Value
Type:
StringValid field name for usage with the target database.
See Also