Candor.Data.DataRecordExtensions.GetBoolean C# (CSharp) Method

GetBoolean() public static method

Gets a field value from a record.
public static GetBoolean ( this record, string name, bool defaultValue ) : bool
record this The source record.
name string The field name to find.
defaultValue bool The default in case the value is not assigned.
return bool
        public static bool GetBoolean(this IDataRecord record, string name, bool defaultValue)
        {
            return GetBoolean(record, name, defaultValue, false);
        }

Same methods

DataRecordExtensions::GetBoolean ( object fieldValue, bool defaultValue ) : bool
DataRecordExtensions::GetBoolean ( this record, string name, bool defaultValue, bool ignoreErrors ) : bool