예제 #1
0
 /// <exception cref="System.Exception"></exception>
 public virtual void ConcUpdateSameObject(IExtObjectContainer oc, int seq)
 {
     IQuery query = oc.Query();
     query.Descend("_s").Constrain(testString + Count / 2);
     IObjectSet result = query.Execute();
     Assert.AreEqual(1, result.Count);
     SimpleObject o = (SimpleObject)result.Next();
     o.SetI(Count + seq);
     oc.Store(o);
 }