protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
public virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { db.Dispose(); } this.disposed = true; } }
public virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _db.Dispose(); } _disposed = true; }
protected virtual void Dispose(bool disposing) { if (disposed) { return; } if (disposing) { userManager.Dispose(); context.Dispose(); } disposed = true; }
public void Dispose() { _context.Dispose(); }