Creates a new command from parameterized SQL.
public DbConnectorCommand Command(Sql sql)
parameter | description |
---|---|
sql | The parameterized SQL. |
Creates a new command.
public DbConnectorCommand Command(string text)
parameter | description |
---|---|
text | The text of the command. |
Creates a new command from parameterized SQL.
public DbConnectorCommand Command(Sql sql, params (string Name, object? Value)[] parameters)
parameter | description |
---|---|
sql | The parameterized SQL. |
parameters | Additional command parameters. |
Creates a new command from parameterized SQL.
public DbConnectorCommand Command(Sql sql, DbParameters parameters)
parameter | description |
---|---|
sql | The parameterized SQL. |
parameters | Additional command parameters. |
Creates a new command.
public DbConnectorCommand Command(string text, params (string Name, object? Value)[] parameters)
parameter | description |
---|---|
text | The text of the command. |
parameters | The command parameters. |
Creates a new command.
public DbConnectorCommand Command(string text, DbParameters parameters)
parameter | description |
---|---|
text | The text of the command. |
parameters | The command parameters. |