Exemple #1
0
 public INorm Execute(string command)
 {
     using var cmd = Connection.CreateCommand();
     SetCommand(cmd, command);
     Connection.EnsureIsOpen();
     cmd.ExecuteNonQuery();
     return(this);
 }
Exemple #2
0
 public INorm Execute(string command, params object[] parameters)
 {
     using var cmd = Connection.CreateCommand();
     SetCommand(cmd, command);
     Connection.EnsureIsOpen();
     cmd.AddParameters(parameters).ExecuteNonQuery();
     return(this);
 }