protected virtual void Dispose(bool disposing) { if (disposing) { if (this._dbContext != null) { this._dbContext.Dispose(); this._dbContext = null; } } }
public UserAndDiaryLogRepository(DiaryLogDBEntities context) { _dbContext = context; }
protected virtual void Dispose(bool disposing) { if (disposing) { if (this._dbContext != null) { this._dbContext.Dispose(); this._dbContext = null; } } }
public UserAndDiaryLogRepository(DiaryLogDBEntities context) { _dbContext = context; }