示例#1
0
        internal virtual void InitRelationship(long relationshipReference, long reference, Read read, AssertOpen assertOpen)
        {
            Debug.Assert(relationshipReference != NO_ID);

            Init(reference, read, assertOpen);

            // Transaction state
            if (read.HasTxStateWithChanges())
            {
                this._propertiesState          = read.TxState().getRelationshipState(relationshipReference);
                this._txStateChangedProperties = this._propertiesState.addedAndChangedProperties();
            }
        }
示例#2
0
        public override void Close()
        {
            if (!Closed)
            {
                _propertiesState          = null;
                _txStateChangedProperties = null;
                _txStateValue             = null;
                _read = null;
                _storeCursor.reset();

                _pool.accept(this);
            }
        }
示例#3
0
        internal virtual void InitGraph(long reference, Read read, AssertOpen assertOpen)
        {
            Init(reference, read, assertOpen);

            // Transaction state
            if (read.HasTxStateWithChanges())
            {
                this._propertiesState = read.TxState().GraphState;
                if (this._propertiesState != null)
                {
                    this._txStateChangedProperties = this._propertiesState.addedAndChangedProperties();
                }
            }
        }