Method | Description | |
---|---|---|
CodeNullableTypeIsNative ( System type ) : bool |
Determines if the nullable type in code is native like 'string' or made up of a composite type like 'decimal?'
|
|
DefaultIsString ( System type ) : bool | ||
DefaultValueCodeString ( System type ) : string | ||
GetSQLDefault ( System dataType, string defaultValue ) : string |
Gets the SQL equivalent for this default value
|
|
IsBinaryType ( System type ) : bool |
Determines if the data type is a database character type of Binary,Image,VarBinary
|
|
IsDateType ( System type ) : bool |
Determines if the data type is a database character type of DateTime,DateTime2,DateTimeOffset,SmallDateTime
|
|
IsDecimalType ( System type ) : bool |
Determines if the data type is a database type of Decimal,Float,Real
|
|
IsIntegerType ( System type ) : bool |
Determines if the data type is a database type of Int,BigInt,TinyInt,SmallInt
|
|
IsMoneyType ( System type ) : bool |
Determines if the data type is a database type of Money,SmallMoney
|
|
IsNumericType ( System type ) : bool |
Determines if the type is a number wither floating point or integer
|
|
IsTextType ( System type ) : bool |
Determines if the data type is a database character type of Char,NChar,NText,NVarChar,Text,VarChar,Xml
|
|
SupportsMax ( System type ) : bool |
Determines if this type supports the MAX syntax in SQL 2008
|
|
VariableLengthType ( System type ) : bool |
public static CodeNullableTypeIsNative ( System type ) : bool | ||
type | System | |
return | bool |
public static DefaultIsString ( System type ) : bool | ||
type | System | |
return | bool |
public static DefaultValueCodeString ( System type ) : string | ||
type | System | |
return | string |
public static GetSQLDefault ( System dataType, string defaultValue ) : string | ||
dataType | System | |
defaultValue | string | |
return | string |
public static IsBinaryType ( System type ) : bool | ||
type | System | |
return | bool |
public static IsDateType ( System type ) : bool | ||
type | System | |
return | bool |
public static IsDecimalType ( System type ) : bool | ||
type | System | |
return | bool |
public static IsIntegerType ( System type ) : bool | ||
type | System | |
return | bool |
public static IsMoneyType ( System type ) : bool | ||
type | System | |
return | bool |
public static IsNumericType ( System type ) : bool | ||
type | System | |
return | bool |
public static IsTextType ( System type ) : bool | ||
type | System | |
return | bool |
public static SupportsMax ( System type ) : bool | ||
type | System | |
return | bool |
public static VariableLengthType ( System type ) : bool | ||
type | System | |
return | bool |