public static DateTime GetDateTime(IDataReader dr, FieldDictionary Fields, string FieldName, DateTime NullValue) { if (Fields.ContainsKey(FieldName)) { return(GetDateTime(dr, Fields[FieldName], NullValue)); } else { return(NullValue); } }
public static Decimal GetDecimal(IDataReader dr, FieldDictionary Fields, string FieldName, Decimal NullValue) { if (Fields.ContainsKey(FieldName)) { return(GetDecimal(dr, Fields[FieldName], NullValue)); } else { return(NullValue); } }
public static byte[] GetBytes(IDataReader dr, FieldDictionary Fields, string FieldName, byte[] NullValue) { if (Fields.ContainsKey(FieldName)) { return(GetBytes(dr, Fields[FieldName], NullValue)); } else { return(NullValue); } }
public static Guid GetGuid(IDataReader dr, FieldDictionary Fields, string FieldName, Guid NullValue) { if (Fields.ContainsKey(FieldName)) { return(GetGuid(dr, Fields[FieldName], NullValue)); } else { return(NullValue); } }
public static bool GetBoolean(IDataReader dr, FieldDictionary Fields, string FieldName, bool NullValue) { if (Fields.ContainsKey(FieldName)) { return(GetBoolean(dr, Fields[FieldName], NullValue)); } else { return(NullValue); } }
public static short GetShort(IDataReader dr, FieldDictionary Fields, string FieldName, short NullValue) { if (Fields.ContainsKey(FieldName)) { return(GetShort(dr, Fields[FieldName], NullValue)); } else { return(NullValue); } }
public static Int32 GetInt32(IDataReader dr, FieldDictionary Fields, string FieldName, Int32 NullValue) { if (Fields.ContainsKey(FieldName)) { return(GetInt32(dr, Fields[FieldName], NullValue)); } else { return(NullValue); } }