public virtual bool Delete(TKeyType id)
 {
     _povider.ContextAction(c =>
     {
         c.Execute(_povider.SqlDelete(SchemeTableName), new { id });
     });
     return(true);
 }
Exemplo n.º 2
0
 public virtual bool Delete(IDbConnection c, int id, IDbTransaction tran = null)
 {
     c.Execute(_provider.SqlDelete(SchemeTableName), new { id }, tran);
     return(true);
 }