コード例 #1
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);
     }
 }
コード例 #2
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);
     }
 }
コード例 #3
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);
     }
 }
コード例 #4
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);
     }
 }
コード例 #5
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);
     }
 }
コード例 #6
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);
     }
 }
コード例 #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);
     }
 }