Ejemplo n.º 1
0
 private static string DateErrorMessage(string str, SqlType sqlType, string[] formats)
 {
     return(String.Format("The input string {0} is not compatible with any of the formats for SQL Type {1} ( {2} )",
                          str,
                          sqlType.ToString().ToUpperInvariant(),
                          String.Join(", ", formats)));
 }
Ejemplo n.º 2
0
 protected DataType(SqlType sqlType)
     : this(sqlType.ToString(), sqlType)
 {
 }