public void Dispose() { _db.Database.EnsureDeleted(); _db.Dispose(); }
protected override void Dispose(bool disposing) { if (disposing) { _db.Dispose(); } base.Dispose(disposing); }