public void Simple_Repo_Should_Run_Migrations_Before_DeleteMany_WithItemsCollection()
        {
            var toDelete = new DummyForDelete[]
            {
                new DummyForDelete
                {
                    Id   = 1,
                    Name = "AName"
                },
                new DummyForDelete
                {
                    Id   = 2,
                    Name = "BName"
                }
            };

            _repo.DeleteMany(toDelete);

            var existing = _repo.All <DummyForDelete>().Count();

            Assert.Equal(0, existing);
        }
        public void Simple_Repo_Should_Run_Migrations_Before_DeleteMany_WithItemsCollection()
        {
            var toDelete = new DummyForDelete[]
            {
                new DummyForDelete
                {
                    Id = 1,
                    Name = "AName"
                },
                new DummyForDelete
                {
                    Id = 2,
                    Name = "BName"
                }
            };

            _repo.DeleteMany(toDelete);

            var existing = _repo.All<DummyForDelete>().Count();
            Assert.Equal(0, existing);
        }