C# Class BelhardTraining.Extensions.DbDataReaderExtensions

Afficher le fichier Open project: bazile/Training

Méthodes publiques

Méthode Description
GetBoolean ( this reader, string columnName ) : bool
GetByte ( this reader, string columnName ) : byte
GetDateTime ( this reader, string columnName ) : System.DateTime
GetDecimal ( this reader, string columnName ) : decimal
GetDouble ( this reader, string columnName ) : double
GetGuid ( this reader, string columnName ) : System.Guid
GetInt16 ( this reader, string columnName ) : short
GetInt32 ( this reader, string columnName ) : int
GetInt64 ( this reader, string columnName ) : long
GetNullableBoolean ( this reader, string columnName ) : bool?
GetNullableByte ( this reader, string columnName ) : byte?
GetNullableDateTime ( this reader, string columnName ) : DateTime?
GetNullableDecimal ( this reader, string columnName ) : decimal?
GetNullableDouble ( this reader, string columnName ) : double?
GetNullableGuid ( this reader, string columnName ) : Guid?
GetNullableInt16 ( this reader, string columnName ) : short?
GetNullableInt32 ( this reader, string columnName ) : int?
GetNullableInt64 ( this reader, string columnName ) : long?
GetString ( this reader, string columnName ) : string

Method Details

GetBoolean() public static méthode

public static GetBoolean ( this reader, string columnName ) : bool
reader this
columnName string
Résultat bool

GetByte() public static méthode

public static GetByte ( this reader, string columnName ) : byte
reader this
columnName string
Résultat byte

GetDateTime() public static méthode

public static GetDateTime ( this reader, string columnName ) : System.DateTime
reader this
columnName string
Résultat System.DateTime

GetDecimal() public static méthode

public static GetDecimal ( this reader, string columnName ) : decimal
reader this
columnName string
Résultat decimal

GetDouble() public static méthode

public static GetDouble ( this reader, string columnName ) : double
reader this
columnName string
Résultat double

GetGuid() public static méthode

public static GetGuid ( this reader, string columnName ) : System.Guid
reader this
columnName string
Résultat System.Guid

GetInt16() public static méthode

public static GetInt16 ( this reader, string columnName ) : short
reader this
columnName string
Résultat short

GetInt32() public static méthode

public static GetInt32 ( this reader, string columnName ) : int
reader this
columnName string
Résultat int

GetInt64() public static méthode

public static GetInt64 ( this reader, string columnName ) : long
reader this
columnName string
Résultat long

GetNullableBoolean() public static méthode

public static GetNullableBoolean ( this reader, string columnName ) : bool?
reader this
columnName string
Résultat bool?

GetNullableByte() public static méthode

public static GetNullableByte ( this reader, string columnName ) : byte?
reader this
columnName string
Résultat byte?

GetNullableDateTime() public static méthode

public static GetNullableDateTime ( this reader, string columnName ) : DateTime?
reader this
columnName string
Résultat DateTime?

GetNullableDecimal() public static méthode

public static GetNullableDecimal ( this reader, string columnName ) : decimal?
reader this
columnName string
Résultat decimal?

GetNullableDouble() public static méthode

public static GetNullableDouble ( this reader, string columnName ) : double?
reader this
columnName string
Résultat double?

GetNullableGuid() public static méthode

public static GetNullableGuid ( this reader, string columnName ) : Guid?
reader this
columnName string
Résultat Guid?

GetNullableInt16() public static méthode

public static GetNullableInt16 ( this reader, string columnName ) : short?
reader this
columnName string
Résultat short?

GetNullableInt32() public static méthode

public static GetNullableInt32 ( this reader, string columnName ) : int?
reader this
columnName string
Résultat int?

GetNullableInt64() public static méthode

public static GetNullableInt64 ( this reader, string columnName ) : long?
reader this
columnName string
Résultat long?

GetString() public static méthode

public static GetString ( this reader, string columnName ) : string
reader this
columnName string
Résultat string