public virtual bool DeleteAll()
 {
     _povider.ContextAction(c =>
     {
         c.Execute(_povider.SqlDeleteAll(SchemeTableName));
     });
     return(true);
 }
Ejemplo n.º 2
0
 public virtual bool DeleteAll(IDbConnection c, IDbTransaction tran = null)
 {
     c.Execute(_provider.SqlDeleteAll(SchemeTableName), transaction: tran);
     return(true);
 }