C# 클래스 nHydrate.DataImport.SqlClient.Extensions

파일 보기 프로젝트 열기: nHydrate/nHydrate 1 사용 예제들

공개 메소드들

메소드 설명
GetSqlDbType ( System t ) : System.Data.SqlDbType

Makes a system type to a SqlDbType

IsBinaryType ( this item ) : bool

Determines if the data type is a database character type of Binary,Image,VarBinary

IsDateType ( this item ) : bool

Determines if the data type is a database character type of DateTime,DateTime2,DateTimeOffset,SmallDateTime

IsDecimalType ( this item ) : bool

Determines if the data type is a database character type of Decimal,Float,Real

IsIntegerType ( this item ) : bool

Determines if the data type is a database character type of Int,BigInt,TinyInt,SmallInt

IsMoneyType ( this item ) : bool

Determines if the data type is a database type of Money,SmallMoney

IsNumericType ( this item ) : bool

Determines if the type is a number wither floating point or integer

IsTextType ( this item ) : bool

Determines if the data type is a database character type of Char,NChar,NText,NVarChar,Text,VarChar,Xml

ValidateDataTypeMax ( this type, int length ) : int

메소드 상세

GetSqlDbType() 공개 정적인 메소드

Makes a system type to a SqlDbType
public static GetSqlDbType ( System t ) : System.Data.SqlDbType
t System
리턴 System.Data.SqlDbType

IsBinaryType() 공개 정적인 메소드

Determines if the data type is a database character type of Binary,Image,VarBinary
public static IsBinaryType ( this item ) : bool
item this
리턴 bool

IsDateType() 공개 정적인 메소드

Determines if the data type is a database character type of DateTime,DateTime2,DateTimeOffset,SmallDateTime
public static IsDateType ( this item ) : bool
item this
리턴 bool

IsDecimalType() 공개 정적인 메소드

Determines if the data type is a database character type of Decimal,Float,Real
public static IsDecimalType ( this item ) : bool
item this
리턴 bool

IsIntegerType() 공개 정적인 메소드

Determines if the data type is a database character type of Int,BigInt,TinyInt,SmallInt
public static IsIntegerType ( this item ) : bool
item this
리턴 bool

IsMoneyType() 공개 정적인 메소드

Determines if the data type is a database type of Money,SmallMoney
public static IsMoneyType ( this item ) : bool
item this
리턴 bool

IsNumericType() 공개 정적인 메소드

Determines if the type is a number wither floating point or integer
public static IsNumericType ( this item ) : bool
item this
리턴 bool

IsTextType() 공개 정적인 메소드

Determines if the data type is a database character type of Char,NChar,NText,NVarChar,Text,VarChar,Xml
public static IsTextType ( this item ) : bool
item this
리턴 bool

ValidateDataTypeMax() 공개 정적인 메소드

public static ValidateDataTypeMax ( this type, int length ) : int
type this
length int
리턴 int