public static string SqlLiteralDate(this DateTime?d, SqlDateOptions options) => d.HasValue ? d.Value.SqlLiteralDate(options) : SqlOptions.SqlNullString;
public static string SqlLiteralDate(this DateTime d, SqlDateOptions options) => d.SqlLiteralDate(options.LiteralPrefix, options.LiteralSuffix);