Esempio n. 1
0
        public virtual void Setup()
        {
            DbContext.DetachAllEntities();
            foreach (var administrator in DbContext.Administrators.ToList())
            {
                DbContext.Remove(administrator);
            }

            DbContext.SaveChanges();
        }