IDbSpecificCreatorAppendValidIdentifier 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.10.0.0 (5.10.0)
Syntax void AppendValidIdentifier(
QueryFragments toAppendTo,
string rawIdentifier
)
Sub AppendValidIdentifier (
toAppendTo As QueryFragments,
rawIdentifier As String
)
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
See Also