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