예제 #1
0
 /// <exception cref="System.Exception"></exception>
 public virtual void CheckUpdateDifferentObject(IExtObjectContainer oc)
 {
     IObjectSet result = oc.Query(typeof(SimpleObject));
     Assert.AreEqual(Count, result.Count);
     while (result.HasNext())
     {
         SimpleObject o = (SimpleObject)result.Next();
         int i = o.GetI();
         if (i >= Count)
         {
             i -= Count;
         }
         Assert.AreEqual(testString + i, o.GetS());
     }
 }