We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Command
1 parent c1acb45 commit a583475Copy full SHA for a583475
src/Sql/Command.cs
@@ -5,4 +5,11 @@ namespace Belin.Sql;
5
/// </summary>
6
/// <param name="Text">The text of the SQL statement.</param>
7
/// <param name="Parameters">The parameters of the SQL statement.</param>
8
-public sealed record Command(string Text, ParameterCollection Parameters);
+public sealed record Command(string Text, ParameterCollection Parameters) {
9
+
10
+ /// <summary>
11
+ /// Creates a new command.
12
+ /// </summary>
13
+ /// <param name="text">The text of the SQL statement.</param>
14
+ public Command(string text): this(text, []) {}
15
+}
0 commit comments