protected override void DisposeCore() { if (dbContext != null) { dbContext.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (!disposed) { if (disposing) { dataContext.Dispose(); } } disposed = true; }