Extensions Class
Provides extension methods for common ADO.NET objects.
Inheritance Hierarchy
System.Object
DbExtensions.Extensions
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public static class Extensions
The Extensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetBoolean | Gets the value of the specified column as a Boolean. | |
GetByte | Gets the value of the specified column as a Byte. | |
GetChar | Gets the value of the specified column as a Char. | |
GetDateTime | Gets the value of the specified column as a DateTime. | |
GetDecimal | Gets the value of the specified column as a Decimal. | |
GetDouble | Gets the value of the specified column as a Double. | |
GetFloat | Gets the value of the specified column as a Single. | |
GetInt16 | Gets the value of the specified column as an Int16. | |
GetInt32 | Gets the value of the specified column as an Int32. | |
GetInt64 | Gets the value of the specified column as an Int64. | |
GetNullableBoolean(IDataRecord, Int32) | Gets the value of the specified column as a Nullable<T> of Boolean. | |
GetNullableBoolean(IDataRecord, String) | Gets the value of the specified column as a Nullable<T> of Boolean. | |
GetNullableByte(IDataRecord, Int32) | Gets the value of the specified column as a Nullable<T> of Byte. | |
GetNullableByte(IDataRecord, String) | Gets the value of the specified column as a Nullable<T> of Byte. | |
GetNullableChar(IDataRecord, Int32) | Gets the value of the specified column as a Nullable<T> of Char. | |
GetNullableChar(IDataRecord, String) | Gets the value of the specified column as a Nullable<T> of Char. | |
GetNullableDateTime(IDataRecord, Int32) | Gets the value of the specified column as a Nullable<T> of DateTime. | |
GetNullableDateTime(IDataRecord, String) | Gets the value of the specified column as a Nullable<T> of DateTime. | |
GetNullableDecimal(IDataRecord, Int32) | Gets the value of the specified column as a Nullable<T> of Decimal. | |
GetNullableDecimal(IDataRecord, String) | Gets the value of the specified column as a Nullable<T> of Decimal. | |
GetNullableDouble(IDataRecord, Int32) | Gets the value of the specified column as a Nullable<T> of Double. | |
GetNullableDouble(IDataRecord, String) | Gets the value of the specified column as a Nullable<T> of Double. | |
GetNullableFloat(IDataRecord, Int32) | Gets the value of the specified column as a Nullable<T> of Single. | |
GetNullableFloat(IDataRecord, String) | Gets the value of the specified column as a Nullable<T> of Single. | |
GetNullableGuid(IDataRecord, Int32) | Gets the value of the specified column as a Nullable<T> of Guid. | |
GetNullableGuid(IDataRecord, String) | Gets the value of the specified column as a Nullable<T> of Guid. | |
GetNullableInt16(IDataRecord, Int32) | Gets the value of the specified column as a Nullable<T> of Int16. | |
GetNullableInt16(IDataRecord, String) | Gets the value of the specified column as a Nullable<T> of Int16. | |
GetNullableInt32(IDataRecord, Int32) | Gets the value of the specified column as a Nullable<T> of Int32. | |
GetNullableInt32(IDataRecord, String) | Gets the value of the specified column as a Nullable<T> of Int32. | |
GetNullableInt64(IDataRecord, Int32) | Gets the value of the specified column as a Nullable<T> of Int64. | |
GetNullableInt64(IDataRecord, String) | Gets the value of the specified column as a Nullable<T> of Int64. | |
GetString | Gets the value of the specified column as a String. | |
GetStringOrNull(IDataRecord, Int32) | Gets the value of the specified column as a String, or null (Nothing in Visual Basic). | |
GetStringOrNull(IDataRecord, String) | Gets the value of the specified column as a String, or null (Nothing in Visual Basic). | |
GetValue | Gets the value of the specified column. | |
GetValueOrNull(IDataRecord, Int32) | Gets the value of the specified column as an Object, or null (Nothing in Visual Basic). | |
GetValueOrNull(IDataRecord, String) | Gets the value of the specified column as an Object, or null (Nothing in Visual Basic). |