protected virtual void Dispose(bool disposing) { if (!disposing) { return; } if (this._dataContext == null) { return; } this._dataContext.Dispose(); this._dataContext = null; }
public UnitOfWork(AnonymousBidderDataContext context) { _dataContext = context; }
public UnitOfWork() { _dataContext = new AnonymousBidderDataContext(); }