C# Class CodeInsiders.SharpQL.MetaType

Afficher le fichier Open project: codeinsiders/sharpql Class Usage Examples

Méthodes publiques

Méthode Description
FromDateTime ( System.DateTime dateTime, byte cb ) : TdsDateTime
MetaType ( byte precision, byte scale, int fixedLength, bool isFixed, bool isLong, bool isPlp, byte tdsType, byte nullableTdsType, string typeName, Type classType, Type sqlType, SqlDbType sqldbType, DbType dbType, byte propBytes ) : System
ToDateTime ( int sqlDays, int sqlTime, int length ) : System.DateTime

Private Methods

Méthode Description
GetComValueFromSqlVariant ( object sqlVal ) : object
GetDefaultMetaType ( ) : MetaType
GetMaxMetaTypeFromMetaType ( MetaType mt ) : MetaType
GetMetaTypeFromDbType ( DbType target ) : MetaType
GetMetaTypeFromSqlDbType ( SqlDbType target, bool isMultiValued ) : MetaType
GetMetaTypeFromType ( Type dataType ) : MetaType
GetMetaTypeFromValue ( Type dataType, object value, bool inferLen, bool streamAllowed ) : MetaType
GetMetaTypeFromValue ( object value, bool streamAllowed = true ) : MetaType
GetNullSqlValue ( Type sqlType ) : object
GetSqlDataType ( int tdsType, uint userType, int length ) : MetaType
GetSqlDbTypeFromOleDbType ( short dbType, string typeName ) : SqlDbType
GetSqlValueFromComVariant ( object comVal ) : object
GetStringFromXml ( XmlReader xmlreader ) : string
GetTimeSizeFromScale ( byte scale ) : int
MetaType ( ) : System
PromoteStringType ( string s ) : MetaType
_Is100Supported ( SqlDbType type ) : bool
_Is70Supported ( SqlDbType type ) : bool
_Is80Supported ( SqlDbType type ) : bool
_Is90Supported ( SqlDbType type ) : bool
_IsAnsiType ( SqlDbType type ) : bool
_IsBinType ( SqlDbType type ) : bool
_IsCharType ( SqlDbType type ) : bool
_IsNCharType ( SqlDbType type ) : bool
_IsNewKatmaiType ( SqlDbType type ) : bool
_IsSizeInCharacters ( SqlDbType type ) : bool
_IsVarTime ( SqlDbType type ) : bool

Method Details

FromDateTime() public static méthode

public static FromDateTime ( System.DateTime dateTime, byte cb ) : TdsDateTime
dateTime System.DateTime
cb byte
Résultat TdsDateTime

MetaType() public méthode

public MetaType ( byte precision, byte scale, int fixedLength, bool isFixed, bool isLong, bool isPlp, byte tdsType, byte nullableTdsType, string typeName, Type classType, Type sqlType, SqlDbType sqldbType, DbType dbType, byte propBytes ) : System
precision byte
scale byte
fixedLength int
isFixed bool
isLong bool
isPlp bool
tdsType byte
nullableTdsType byte
typeName string
classType System.Type
sqlType System.Type
sqldbType SqlDbType
dbType DbType
propBytes byte
Résultat System

ToDateTime() public static méthode

public static ToDateTime ( int sqlDays, int sqlTime, int length ) : System.DateTime
sqlDays int
sqlTime int
length int
Résultat System.DateTime