protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
public void Dispose() { db.Dispose(); }
public virtual void Dispose() { db?.Dispose(); }