{CompanyName} FlexyGo

SQLUtilities..::..FormatField Method (DbType, Object, Boolean, Boolean)

Formats the field.

Namespace:  FLEXYGO.Utilities.SQL
Assembly:  flxUtilities (in flxUtilities.dll)

Syntax


public static string FormatField(
	DbType aDbType,
	Object aValue,
	bool aEscapeQuotes,
	bool Nvarchar
)
Public Shared Function FormatField ( _
	aDbType As DbType, _
	aValue As Object, _
	aEscapeQuotes As Boolean, _
	Nvarchar As Boolean _
) As String

Parameters

aDbType
Type: DbType
Type of a database.
aValue
Type: Object
a value.
aEscapeQuotes
Type: Boolean
if set to true [a escape quotes].
Nvarchar
Type: Boolean
if set to true [nvarchar].

Return Value

System.String.