protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
private void Dispose(bool disposing) { if (disposing) { if (_context != null) { _context.Dispose(); } } }
public virtual void Dispose(bool disposing) { if (!this._disposed) { if (disposing) { _db.Dispose(); } this._disposed = true; } }
protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { context.Dispose(); } } this.disposed = true; }
protected virtual void Dispose(bool disposing) { if (!_disposed) { if (disposing) { _db.Dispose(); } _disposed = true; } }
public virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _db.Dispose(); } _disposed = true; }
public void Dispose() { Context.Database.EnsureDeleted(); Context.Dispose(); }
public void Dispose() { _context?.Dispose(); }
public void Dispose() { Db.Dispose(); GC.SuppressFinalize(this); }
public void Dispose() { _ctx.Dispose(); _userManager.Dispose(); }
public void Dispose() { context.Dispose(); }