private static int ConvertToInt(object value) { return(Convert.ToInt32(NullUtil.IsDBNull(value, 0))); }
private static string ConvertToString(object value) { return(Convert.ToString(NullUtil.IsDBNull(value, 0))); }
private static DateTime ConvertToDateTime(object date) { return(Convert.ToDateTime(NullUtil.IsDBNull(date, "1970101"))); }
private static double ConvertToDouble(object value) { return(Convert.ToDouble(NullUtil.IsDBNull(value, 0))); }
private static decimal ConvertToDecimal(object value) { return(Convert.ToDecimal(NullUtil.IsDBNull(value, 0))); }
private static long ConvertToLong(object value) { return(Convert.ToInt64(NullUtil.IsDBNull(value, 0))); }