public virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { dbContext.Dispose(); } this.disposed = true; } }
protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { databaseContext.Dispose(); } this.disposed = true; } }