public virtual int close() { if (_gxDbCommand != null && !_closed) { _gxDbCommand.Close(); _closed = true; } return(0); }