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