示例#1
0
 public static string SqlLiteralTime(this DateTime?d, SqlTimeOptions options) => d.HasValue ? d.Value.SqlLiteralTime(options) : SqlOptions.SqlNullString;
示例#2
0
 public static string SqlLiteralTime(this DateTime d, SqlTimeOptions options) => d.SqlLiteralTime(options.MilliSecondsPrecision, options.LiteralPrefix, options.LiteralSuffix);