Method | Description | |
---|---|---|
DataTypeName ( |
||
DataTypeParameterIfAny ( |
||
EscapeObjectName ( string rawObjectName ) : string | ||
EscapeObjectNames ( string dotSeparatedRawObjectNames ) : string | ||
FieldNameOrDefault ( |
||
NullOrNotNull ( Object allowDbNull ) : string | ||
ResultIsRenderableAsCreateTable ( |
||
ResultIsRenderableAsScriptedData ( |
||
ScriptResultDataAsInsert ( |
||
formatBinary ( object data, int fieldLength ) : string | ||
formatBit ( object data ) : string | ||
formatChar ( object data, bool forTSQLScript = true ) : string | ||
formatDate ( object data, bool forTSQLScript = true ) : string | ||
formatDateTime ( object data, bool forTSQLScript = true ) : string | ||
formatDatetime2 ( object data, bool forTSQLScript = true ) : string | ||
formatDatetimeoffset ( object data, bool forTSQLScript = true ) : string | ||
formatDecimal ( object data ) : string | ||
formatDouble ( object data ) : string | ||
formatGeography ( object data, bool forTSQLScript = true ) : string | ||
formatGeometry ( object data, bool forTSQLScript = true ) : string | ||
formatGuid ( object data, bool forTSQLScript = true ) : string | ||
formatHierarchyId ( object data ) : string | ||
formatImage ( object data ) : string | ||
formatNchar ( object data, bool forTSQLScript = true ) : string | ||
formatNtext ( object data, bool forTSQLScript = true ) : string | ||
formatNvarchar ( object data, bool forTSQLScript = true ) : string | ||
formatSingle ( object data ) : string | ||
formatSmallDateTime ( object data, bool forTSQLScript = true ) : string | ||
formatText ( object data, bool forTSQLScript = true ) : string | ||
formatTime ( object data, bool forTSQLScript = true ) : string | ||
formatTimestamp ( object data ) : string | ||
formatVarbinary ( object data ) : string | ||
formatVarchar ( object data, bool forTSQLScript = true ) : string | ||
formatXml ( object data, bool forTSQLScript = true ) : string | ||
getDataAsAppropriateNumericFormat ( object data ) : string | ||
getDataAsSql_variantFormat ( object data, bool forTSQLScript = true ) : string | ||
latinHexEncodeStringBytes ( string hexEncodedData ) : string | ||
partAfterDecimal ( decimal theDec ) : decimal | ||
partAfterDecimal ( Double theDbl ) : double | ||
partAfterDecimal ( System.Single theSingle ) : double | ||
possiblyEncloseInQuotes ( string theThing, bool useQuotes ) : string | ||
scriptDataAsInsertForSQL2008Plus ( string tableName, |
||
valueAsTSQLLiteral ( object data, |
Method | Description | |
---|---|---|
IsBracketEscaped ( string objectName ) : bool | ||
singleQuoteIfTrue ( bool singleQuote, string prependThisString = "" ) : string |
public static DataTypeName ( |
||
fieldInfo | ||
return | string |
public static DataTypeParameterIfAny ( |
||
fieldInfo | ||
return | string |
public static EscapeObjectName ( string rawObjectName ) : string | ||
rawObjectName | string | |
return | string |
public static EscapeObjectNames ( string dotSeparatedRawObjectNames ) : string | ||
dotSeparatedRawObjectNames | string | |
return | string |
public static FieldNameOrDefault ( |
||
column | ||
fieldIndex | int | |
return | string |
public static NullOrNotNull ( Object allowDbNull ) : string | ||
allowDbNull | Object | |
return | string |
public static ResultIsRenderableAsCreateTable ( |
||
result | ||
return | System.Boolean |
public static ResultIsRenderableAsScriptedData ( |
||
result | ||
return | System.Boolean |
public static ScriptResultDataAsInsert ( |
||
result | ||
tableName | string | |
maxRowsInValuesClause | int | |
return | StringBuilder |
public static formatBinary ( object data, int fieldLength ) : string | ||
data | object | |
fieldLength | int | |
return | string |
public static formatBit ( object data ) : string | ||
data | object | |
return | string |
public static formatChar ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatDate ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatDateTime ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatDatetime2 ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatDatetimeoffset ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatDecimal ( object data ) : string | ||
data | object | |
return | string |
public static formatDouble ( object data ) : string | ||
data | object | |
return | string |
public static formatGeography ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatGeometry ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatGuid ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatHierarchyId ( object data ) : string | ||
data | object | |
return | string |
public static formatImage ( object data ) : string | ||
data | object | |
return | string |
public static formatNchar ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatNtext ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatNvarchar ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatSingle ( object data ) : string | ||
data | object | |
return | string |
public static formatSmallDateTime ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatText ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatTime ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatTimestamp ( object data ) : string | ||
data | object | |
return | string |
public static formatVarbinary ( object data ) : string | ||
data | object | |
return | string |
public static formatVarchar ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static formatXml ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static getDataAsAppropriateNumericFormat ( object data ) : string | ||
data | object | |
return | string |
public static getDataAsSql_variantFormat ( object data, bool forTSQLScript = true ) : string | ||
data | object | |
forTSQLScript | bool | |
return | string |
public static latinHexEncodeStringBytes ( string hexEncodedData ) : string | ||
hexEncodedData | string | |
return | string |
public static partAfterDecimal ( decimal theDec ) : decimal | ||
theDec | decimal | |
return | decimal |
public static partAfterDecimal ( Double theDbl ) : double | ||
theDbl | Double | |
return | double |
public static partAfterDecimal ( System.Single theSingle ) : double | ||
theSingle | System.Single | |
return | double |
public static possiblyEncloseInQuotes ( string theThing, bool useQuotes ) : string | ||
theThing | string | |
useQuotes | bool | |
return | string |
public static scriptDataAsInsertForSQL2008Plus ( string tableName, |
||
tableName | string | |
result | ||
MaxRowsInValuesClause | int | |
return | StringBuilder |
public static valueAsTSQLLiteral ( object data, |
||
data | object | |
fieldInfo | ||
forTSQLScript | bool | |
return | string |