Appearance
GetDecimal Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Overloads
| Name | Description |
|---|---|
decimal GetDecimal(int ordinal) | Returns the value of the specified column as a Decimal |
decimal? GetDecimal(string name) | Returns the value of the specified column name as a Decimal. |
decimal GetDecimal(int ordinal)
csharp
decimal GetDecimal(int ordinal)Returns the value of the specified column as a Decimal
decimal? GetDecimal(string name)
csharp
decimal? GetDecimal(string name)Returns the value of the specified column name as a Decimal.
Parameters
| Name | Description |
|---|---|
name | The name of the column to retrieve. |
Returns
Returns the columns decimal value or null if the column is not present or its value is DB null.