Skip to content

GetBoolean Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
bool GetBoolean(int ordinal)Returns the value of the specified column as a Boolean
bool? GetBoolean(string name)Returns the value of the specified column name as a Boolean.

bool GetBoolean(int ordinal) ​

csharp
bool GetBoolean(int ordinal)

Returns the value of the specified column as a Boolean

bool? GetBoolean(string name) ​

csharp
bool? GetBoolean(string name)

Returns the value of the specified column name as a Boolean.

Parameters ​

NameDescription
nameThe name of the column to retrieve.

Returns ​

Returns the columns bool value or null if the column is not present or its value is DB null.