Click or drag to resize

DbSpecificCreatorBaseAppendValidIdentifier Method

Routine which creates a valid identifier string for the plain identifier string passed in and appends the fragments to the queryfragments specified. For example, the identifier will be surrounded by "[]" on sqlserver. If the specified rawIdentifier needs wrapping with e.g. [], the [ and ] characters are added as separate fragments to toAppendTo so no string concatenation has to take place. Use this method over CreateValidAlias if possible.

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 abstract void AppendValidIdentifier(
	QueryFragments toAppendTo,
	string rawIdentifier
)

Parameters

toAppendTo
Type: SD.LLBLGen.Pro.ORMSupportClassesQueryFragments
the fragments container to append the fragments to.
rawIdentifier
Type: SystemString
the plain identifier string to make valid

Implements

IDbSpecificCreatorAppendValidIdentifier(QueryFragments, String)
See Also