/// <summary> /// Returns a value indicating /// whether the specified field /// is set to null. /// </summary> /// <param name="ordinal">The zero-based /// column ordinal.</param> public bool IsDBNull(int ordinal) { if (_lookup.Contains(ordinal)) { return(_dataRecord.IsDBNull(ordinal)); } return(true); }
/// <summary> /// Gets the value indicating whether the /// specified field exists in the row. /// </summary> /// <param name="key">The name of the field to find.</param> public bool ContainsKey(string key) { return(_lookup.Contains(key)); }