Esempio n. 1
0
 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);
     }
 }
Esempio n. 2
0
 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);
     }
 }
Esempio n. 3
0
 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);
     }
 }
Esempio n. 4
0
 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);
     }
 }
Esempio n. 5
0
 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);
     }
 }
Esempio n. 6
0
 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);
     }
 }
Esempio n. 7
0
 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);
     }
 }
Esempio n. 8
0
 public static Decimal GetDecimal(IDataReader dr, FieldDictionary Fields, string FieldName)
 {
     return(GetDecimal(dr, Fields, FieldName, 0));
 }
Esempio n. 9
0
 public static byte[] GetBytes(IDataReader dr, FieldDictionary Fields, string FieldName)
 {
     return(GetBytes(dr, Fields, FieldName, null));
 }
Esempio n. 10
0
 public static DateTime GetDateTime(IDataReader dr, FieldDictionary Fields, string FieldName)
 {
     return(GetDateTime(dr, Fields, FieldName, DateTime.MinValue));
 }
Esempio n. 11
0
 public static string GetString(IDataReader dr, FieldDictionary Fields, string FieldName)
 {
     return(GetString(dr, Fields, FieldName, null));
 }
Esempio n. 12
0
 public static Guid GetGuid(IDataReader dr, FieldDictionary Fields, string FieldName)
 {
     return(GetGuid(dr, Fields, FieldName, Guid.Empty));
 }
Esempio n. 13
0
 public static bool GetBoolean(IDataReader dr, FieldDictionary Fields, string FieldName)
 {
     return(GetBoolean(dr, Fields, FieldName, false));
 }
Esempio n. 14
0
 public static short GetShort(IDataReader dr, FieldDictionary Fields, string FieldName)
 {
     return(GetShort(dr, Fields, FieldName, 0));
 }
Esempio n. 15
0
 public static Int32 GetInt32(IDataReader dr, FieldDictionary Fields, string FieldName)
 {
     return(GetInt32(dr, Fields, FieldName, 0));
 }
Esempio n. 16
0
 public static double GetDouble(IDataReader dr, FieldDictionary Fields, string FieldName)
 {
     return(GetDouble(dr, Fields, FieldName, 0));
 }