public virtual void SetDBRecoveryMode(string database, DBRecoveryMode mode)
        {
            string sql = $"ALTER DATABASE [{database}] SET RECOVERY {mode.ToString()}";

            Database.ExecuteSqlCommand(TransactionalBehavior.DoNotEnsureTransaction, sql);
        }
        //protected override void OnModelCreating(DbModelBuilder modelBuilder)
        //{
        //    base.OnModelCreating(modelBuilder);
        //}

        public virtual void SetDBRecoveryMode(string database, DBRecoveryMode mode)
        {
            string sql = $"ALTER DATABASE [{database}] SET RECOVERY {mode.ToString()}";

            Database.ExecuteSqlCommand(sql);
        }