public void Dispose() { if (_myDbContext != null) { _myDbContext.Dispose(); } }
protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
public void Dispose() { _context.Dispose(); }
public void dispose() { db.Dispose(); }