Click or drag to resize
IDbSpecificCreatorCreateFieldName Method (IFieldPersistenceInfo, String, String, String, 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 CreateFieldName(field persistence info, fieldname, false);

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
string CreateFieldName(
	IFieldPersistenceInfo persistenceInfo,
	string fieldName,
	string objectAlias,
	string containingObjectName,
	string actualContainingObjectName
)

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.
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: String
Valid field name for usage with the target database.
See Also