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(); } }
public override void Close() { if (!Closed) { _propertiesState = null; _txStateChangedProperties = null; _txStateValue = null; _read = null; _storeCursor.reset(); _pool.accept(this); } }
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(); } } }