コード例 #1
0
            public object ActOnRoot(object obj)
            {
                _enclosing.Db().Activate(obj, int.MaxValue);
                var graph = _enclosing.IterateGraph(obj);

                _enclosing.Db().Deactivate(obj, int.MaxValue);
                return(graph);
            }
コード例 #2
0
            public object ActOnRoot(object obj)
            {
                _enclosing.Db().Activate(obj, int.MaxValue);
                var i = _enclosing.IterateGraphStringFields(obj);

                while (i.MoveNext())
                {
                    var fieldOnObject = (FieldOnObject)i.Current;
                    fieldOnObject._field.Set(fieldOnObject._object, "modified");
                }
                _enclosing.Db().Refresh(obj, int.MaxValue);
                return(obj);
            }
コード例 #3
0
 public object ActOnRoot(object obj)
 {
     _enclosing.Db().Activate(obj, int.MaxValue);
     return(obj);
 }
コード例 #4
0
 public object ActOnRoot(object obj)
 {
     return(_enclosing.Db().PeekPersisted(obj, int.MaxValue, true));
 }