public DbSetDel <T> DeleteRange <T>(IEnumerable <T> lst) { var dbset = new DbSetDel <T>(lst); this.executeNonQueryDbSetCollection.Add(dbset); return(dbset); }
public DbSetDel <T> Delete <T>(T entity) { var dbset = new DbSetDel <T>(new List <T>() { entity }); this.executeNonQueryDbSetCollection.Add(dbset); return(dbset); }