コード例 #1
0
 // This method os not used in Values Query API
 public virtual void ObjectMatch(NeoDatis.Odb.OID oid, object @object, NeoDatis.Tool.Wrappers.OdbComparable
                                 orderByKey)
 {
     if (query.IsMultiRow())
     {
         NeoDatis.Odb.ObjectValues values = ConvertObject((NeoDatis.Odb.Core.Layers.Layer2.Meta.AttributeValuesMap
                                                           )@object);
         if (queryHasOrderBy)
         {
             result.AddWithKey(orderByKey, values);
         }
         else
         {
             result.Add(values);
         }
     }
     else
     {
         Compute((NeoDatis.Odb.Core.Layers.Layer2.Meta.AttributeValuesMap)@object);
     }
 }
コード例 #2
0
 private void Merge(NeoDatis.Tool.Wrappers.OdbComparable key, NeoDatis.Odb.Values
                    values)
 {
     while (values.HasNext())
     {
         if (queryHasOrderBy)
         {
             result.AddWithKey(key, values.NextValues());
         }
         else
         {
             result.Add(values.NextValues());
         }
     }
 }