Click or drag to resize

DbSpecificCreatorBaseCreateFieldNameSimple Method (IFieldPersistenceInfo, String, Boolean)

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. 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.4.0.0 (5.4.0)
Syntax
public virtual string CreateFieldNameSimple(
	IFieldPersistenceInfo persistenceInfo,
	string fieldName,
	bool appendAlias
)

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
appendAlias
Type: SystemBoolean
When true, the routine should construct an alias construction statement.

Return Value

Type: String
Valid field name for usage with the target database.

Implements

IDbSpecificCreatorCreateFieldNameSimple(IFieldPersistenceInfo, String, Boolean)
See Also