This will look up and see if a column name should be escaped with delimited identifiers '[]'. http://msdn.microsoft.com/en-us/library/aa224033(SQL.80).aspx

Namespace: CodeSmith.BaseTemplates
Assembly: CodeSmith.BaseTemplates (in CodeSmith.BaseTemplates.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
protected static string GetDelimitedIdentifier(
	string source,
	bool includeDelimitedIdentifier
)
Visual Basic
Protected Shared Function GetDelimitedIdentifier ( 
	source As String,
	includeDelimitedIdentifier As Boolean
) As String

Parameters

source
Type: System..::..String
The source.
includeDelimitedIdentifier
Type: System..::..Boolean
Enforces that a delimited identifiers are added.

Return Value

Type: String

See Also