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))); }
protected DataType(SqlType sqlType) : this(sqlType.ToString(), sqlType) { }