Extensions.GetNullableDouble(IDataRecord, String) Method
Gets the value of the specified column as a Nullable<T> of Double.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Overloads
Name | Description | |
---|---|---|
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. |
Syntax
public static double? GetNullableDouble(
this IDataRecord record,
string name
)
Parameters
record IDataRecord
The data record.
name String
The name of the column to find.
Return Value
Nullable<Double>
The value of the column.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IDataRecord. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).