public virtual void Dispose(bool disposing) { if (isDisposed) { return; } if (disposing) { dao.Dispose(); } isDisposed = true; }