protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
public void Dispose() { context?.Dispose(); }
public void Dispose() { Db.Dispose(); GC.SuppressFinalize(this); }