예제 #1
0
            /// <exception cref="System.Exception"></exception>
            public void Run()
            {
                _enclosing.TriggerException(true);
                var os = _enclosing.Db().QueryByExample(null);

                while (os.HasNext())
                {
                    os.Next();
                }
            }
예제 #2
0
 /// <exception cref="System.Exception"></exception>
 public void Run()
 {
     _enclosing.TriggerException(true);
     _enclosing.Db().GetByUUID(uuid);
 }
예제 #3
0
 /// <exception cref="System.Exception"></exception>
 public void Run()
 {
     _enclosing.TriggerException(true);
     _enclosing.Db().Store(new Item(3));
 }
예제 #4
0
 /// <exception cref="System.Exception"></exception>
 public void Run()
 {
     _enclosing.TriggerException(true);
     _enclosing.Db().Rollback();
 }
예제 #5
0
 /// <exception cref="System.Exception"></exception>
 public void Run()
 {
     _enclosing.TriggerException(true);
     _enclosing.Db().Query(typeof(Item));
 }
예제 #6
0
 /// <exception cref="System.Exception"></exception>
 public void Run()
 {
     _enclosing.TriggerException(true);
     _enclosing.Db().Delete(item);
 }
예제 #7
0
 /// <exception cref="System.Exception"></exception>
 public void Run()
 {
     _enclosing.TriggerException(true);
     _enclosing.Db().Commit();
 }
예제 #8
0
 /// <exception cref="System.Exception"></exception>
 public void Run()
 {
     _enclosing.TriggerException(true);
     _enclosing.Db().Activate(item, 3);
 }