internal bool GetSupportIRow(OleDbConnection connection, OleDbCommand command) {
            bool supportIRow = _supportIRow;
            if (!_hasSupportIRow) {
                object value = command.GetPropertyValue(OleDbPropertySetGuid.Rowset, ODB.DBPROP_IRow);

                // SQLOLEDB always returns VARIANT_FALSE for DBPROP_IROW, so base the answer on existance
                supportIRow = !(value is OleDbPropertyStatus);
                _supportIRow = supportIRow;
                _hasSupportIRow = true;
            }
            return supportIRow;
        }
 internal bool GetSupportIRow(OleDbConnection connection, OleDbCommand command)
 {
     bool flag = this._supportIRow;
     if (!this._hasSupportIRow)
     {
         flag = !(command.GetPropertyValue(OleDbPropertySetGuid.Rowset, 0x107) is OleDbPropertyStatus);
         this._supportIRow = flag;
         this._hasSupportIRow = true;
     }
     return flag;
 }