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