コード例 #1
0
		private QueryingReadContext(Transaction transaction, QCandidates candidates, int 
			handlerVersion, IReadBuffer buffer, int collectionID, IdObjectCollector collector
			) : base(transaction, buffer)
		{
			_candidates = candidates;
			_activationDepth = new LegacyActivationDepth(0);
			_collectionID = collectionID;
			_handlerVersion = handlerVersion;
			_collector = collector;
		}
コード例 #2
0
 private QueryingReadContext(Transaction transaction, QCandidates candidates, int
                             handlerVersion, IReadBuffer buffer, int collectionID, IdObjectCollector collector
                             ) : base(transaction, buffer)
 {
     _candidates      = candidates;
     _activationDepth = new LegacyActivationDepth(0);
     _collectionID    = collectionID;
     _handlerVersion  = handlerVersion;
     _collector       = collector;
 }
コード例 #3
0
		public static Db4objects.Db4o.Internal.Marshall.CollectIdContext ForID(Transaction
			 transaction, IdObjectCollector collector, int id)
		{
			StatefulBuffer reader = transaction.Container().ReadStatefulBufferById(transaction
				, id);
			if (reader == null)
			{
				return null;
			}
			ObjectHeader oh = new ObjectHeader(transaction.Container(), reader);
			return new Db4objects.Db4o.Internal.Marshall.CollectIdContext(transaction, collector
				, oh, reader);
		}
コード例 #4
0
ファイル: CollectIdContext.cs プロジェクト: masroore/db4o
 public static CollectIdContext ForID(Transaction
     transaction, IdObjectCollector collector, int id)
 {
     var reader = transaction.Container().ReadStatefulBufferById(transaction
         , id);
     if (reader == null)
     {
         return null;
     }
     var oh = new ObjectHeader(transaction.Container(), reader);
     return new CollectIdContext(transaction, collector
         , oh, reader);
 }
コード例 #5
0
        public static CollectIdContext ForID(Transaction
                                             transaction, IdObjectCollector collector, int id)
        {
            var reader = transaction.Container().ReadStatefulBufferById(transaction
                                                                        , id);

            if (reader == null)
            {
                return(null);
            }
            var oh = new ObjectHeader(transaction.Container(), reader);

            return(new CollectIdContext(transaction, collector
                                        , oh, reader));
        }
コード例 #6
0
ファイル: OpenTypeHandler.cs プロジェクト: Galigator/db4o
			public _CollectIdContext_203(QueryingReadContext readContext, Transaction baseArg1
				, IdObjectCollector baseArg2, ObjectHeader baseArg3, IReadBuffer baseArg4) : base
				(baseArg1, baseArg2, baseArg3, baseArg4)
			{
				this.readContext = readContext;
			}
コード例 #7
0
 public QueryingReadContext(Transaction transaction, int handlerVersion, IReadBuffer
                            buffer, int collectionID, IdObjectCollector collector) : this(transaction, null
                                                                                          , handlerVersion, buffer, collectionID, collector)
 {
 }
コード例 #8
0
        public static Db4objects.Db4o.Internal.Marshall.CollectIdContext ForID(Transaction
                                                                               transaction, IdObjectCollector collector, int id)
        {
            StatefulBuffer reader = transaction.Container().ReadStatefulBufferById(transaction
                                                                                   , id);

            if (reader == null)
            {
                return(null);
            }
            ObjectHeader oh = new ObjectHeader(transaction.Container(), reader);

            return(new Db4objects.Db4o.Internal.Marshall.CollectIdContext(transaction, collector
                                                                          , oh, reader));
        }
コード例 #9
0
 public CollectIdContext(Transaction transaction, IdObjectCollector collector, ObjectHeader
                         oh, IReadBuffer buffer) : base(transaction, buffer, oh)
 {
     _collector = collector;
 }
コード例 #10
0
		public QueryingReadContext(Transaction transaction, int handlerVersion, IReadBuffer
			 buffer, int collectionID, IdObjectCollector collector) : this(transaction, null
			, handlerVersion, buffer, collectionID, collector)
		{
		}
コード例 #11
0
		public CollectIdContext(Transaction transaction, IdObjectCollector collector, ObjectHeader
			 oh, IReadBuffer buffer) : base(transaction, buffer, oh)
		{
			_collector = collector;
		}