protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
public virtual void Dispose(bool desposing) { if (!desposed) { if (desposing) { db.Dispose(); } desposed = true; } }