Exemple #1
0
        public DbSetDel <T> DeleteRange <T>(IEnumerable <T> lst)
        {
            var dbset = new DbSetDel <T>(lst);

            this.executeNonQueryDbSetCollection.Add(dbset);
            return(dbset);
        }
Exemple #2
0
        public DbSetDel <T> Delete <T>(T entity)
        {
            var dbset = new DbSetDel <T>(new List <T>()
            {
                entity
            });

            this.executeNonQueryDbSetCollection.Add(dbset);
            return(dbset);
        }