Property | Type | Description | |
---|---|---|---|
DbType | DbType | ||
FixedLength | int | ||
IsFixed | bool | ||
IsLong | bool | ||
IsPlp | bool | ||
NullableType | byte | ||
Precision | byte | ||
PropBytes | byte | ||
Scale | byte | ||
SqlDbType | SqlDbType | ||
TDSType | byte |
Method | Description | |
---|---|---|
GetSqlDbTypeFromOleDbType ( OleDbType dbType, string typeName ) : SqlDbType |
Gets the type of the SQL db type from OLE db.
|
|
Is100Supported ( SqlDbType type ) : bool |
Determines whether the type is compatible in SQL Server 2008.
|
|
Is70Supported ( SqlDbType type ) : bool |
Determines whether the type is compatible in SQL Server 7.0.
|
|
Is80Supported ( SqlDbType type ) : bool |
Determines whether the type is compatible in SQL Server 2000.
|
|
Is90Supported ( SqlDbType type ) : bool |
Determines whether the type is compatible in SQL Server 2005.
|
|
IsAnsiType ( SqlDbType type ) : bool |
TODO
|
|
IsBinType ( SqlDbType type ) : bool |
Determines whether the type is a binary data type.
|
|
IsCharType ( SqlDbType type ) : bool |
Determines whether the data type is a character stream.
|
|
IsNCharType ( SqlDbType type ) : bool |
Determines whether the type can contain Unicode characters.
|
|
IsNewKatmaiType ( SqlDbType type ) : bool |
Determines whether the type is new from SQL Server 2008 onwards.
|
|
IsSizeInCharacters ( SqlDbType type ) : bool |
Determines whether the data size can be determined by the number of characters in the type.
|
|
IsVarTime ( SqlDbType type ) : bool |
Determines whether the specified type is a time type.
|
Method | Description | |
---|---|---|
GetCLRValueFromSqlVariant ( object sqlVal ) : object | ||
GetMaxMetaTypeFromMetaType ( [ mt ) : |
||
GetMetaTypeFromDbType ( DbType target ) : |
||
GetMetaTypeFromSqlDbType ( SqlDbType target, bool isMultiValued = false ) : |
||
GetMetaTypeFromType ( |
||
GetMetaTypeFromValue ( |
||
GetMetaTypeFromValue ( object value ) : |
||
GetNullSqlValue ( |
||
GetSqlDataType ( int tdsType, uint userType, int length ) : |
||
GetSqlValueFromCLRVariant ( object clrVal ) : object | ||
PromoteStringType ( string s ) : |
||
SqlMetaType ( byte precision, byte scale, int fixedLength, bool isFixed, bool isLong, bool isPlp, byte tdsType, byte nullableTdsType, [ typeName, [ classType, [ sqlType, SqlDbType sqldbType, DbType dbType, byte propBytes ) : System |
Initializes a new instance of the SqlMetaType class.
|
public static GetSqlDbTypeFromOleDbType ( OleDbType dbType, string typeName ) : SqlDbType | ||
dbType | OleDbType | Type of the db. |
typeName | string | Name of the type. |
return | SqlDbType |
public static Is100Supported ( SqlDbType type ) : bool | ||
type | SqlDbType | The SQL type to check. |
return | bool |
public static Is70Supported ( SqlDbType type ) : bool | ||
type | SqlDbType | The SQL type to check. |
return | bool |
public static Is80Supported ( SqlDbType type ) : bool | ||
type | SqlDbType | The SQL type to check. |
return | bool |
public static Is90Supported ( SqlDbType type ) : bool | ||
type | SqlDbType | The SQL type to check. |
return | bool |
public static IsAnsiType ( SqlDbType type ) : bool | ||
type | SqlDbType | The SQL type to check. |
return | bool |
public static IsBinType ( SqlDbType type ) : bool | ||
type | SqlDbType | The SQL type to check. |
return | bool |
public static IsCharType ( SqlDbType type ) : bool | ||
type | SqlDbType | The SQL type to check. |
return | bool |
public static IsNCharType ( SqlDbType type ) : bool | ||
type | SqlDbType | The SQL type to check. |
return | bool |
public static IsNewKatmaiType ( SqlDbType type ) : bool | ||
type | SqlDbType | The SQL type to check. |
return | bool |
public static IsSizeInCharacters ( SqlDbType type ) : bool | ||
type | SqlDbType | The SQL type to check. |
return | bool |
public static IsVarTime ( SqlDbType type ) : bool | ||
type | SqlDbType | The SQL type to check. |
return | bool |