protected override void DisposeCore() { if (dbContext != null) { dbContext.Dispose(); } }
public void Dispose() { if (dbContext != null) { dbContext.Dispose(); } }
protected override void DisposeCore() { //base.DisposeCore(); if (null != dbContext) { dbContext.Dispose(); } }
protected override void DisposeCore() { dbContext?.Dispose(); }