Beispiel #1
0
 public static string SqlLiteral(this decimal?value, SqlDecimalOptions options) => value.HasValue ? value.Value.SqlLiteral(options) : SqlOptions.SqlNullString;
Beispiel #2
0
 public static string SqlLiteral(this decimal value, SqlDecimalOptions options) => options.LiteralPrefix + value + options.LiteralSuffix;