private void Merge(IOdbComparable key, IValues values) { while (values.HasNext()) { if (_queryHasOrderBy) { _result.AddWithKey(key, values.NextValues()); } else { _result.Add(values.NextValues()); } } }
// This method os not used in Values Query API public void ObjectMatch(OID oid, object @object, IOdbComparable orderByKey) { if (_query.IsMultiRow()) { var values = ConvertObject((AttributeValuesMap)@object); if (_queryHasOrderBy) { _result.AddWithKey(orderByKey, values); } else { _result.Add(values); } } else { Compute((AttributeValuesMap)@object); } }