protected override void Dispose(bool disposing) { base.Dispose(disposing); Current = null; Mutex.ReleaseMutex(); }
private static bool need_init = true; //one per app domain #endregion Fields #region Constructors private GameContext(string connString) : base(connString) { Database.SetInitializer(new DropCreateAndMigrateDatabaseInitializer<GameContext, GameContextConfiguration>()); Current = this; }