1 write to _delta
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
85
_delta
= new SessionStateRecord[_maxNumberOfSessionStates];
18 references to _delta
System.Data (18)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (2)
94
foreach (var state in
_delta
) {
2524
_currentSessionData.
_delta
[stateId] = new SessionStateRecord { _data = stateData, _dataLength = len, _recoverable = true, _version = 0 };
fx\src\data\System\Data\SqlClient\TdsParser.cs (16)
2962
lock (sdata.
_delta
) {
2963
if (sdata.
_delta
[stateId] == null) {
2965
sdata.
_delta
[stateId] = new SessionStateRecord { _version = seqNum, _dataLength = stateLen, _data = buffer, _recoverable = recoverable };
2972
if (sdata.
_delta
[stateId]._version <= seqNum) {
2973
SessionStateRecord sv = sdata.
_delta
[stateId];
6916
if (reconnectData.
_delta
[i] != null) {
6917
Debug.Assert(reconnectData.
_delta
[i]._recoverable, "State should be recoverable");
6919
if (reconnectData._initialState[i] != null && reconnectData._initialState[i].Length == reconnectData.
_delta
[i]._dataLength) {
6921
for (int j = 0; j < reconnectData.
_delta
[i]._dataLength; j++) {
6922
if (reconnectData._initialState[i][j] != reconnectData.
_delta
[i]._data[j]) {
6929
currentLength += 1 /* StateId*/ + StateValueLength(reconnectData.
_delta
[i]._dataLength);
6959
if (reconnectData.
_delta
[i]._dataLength < 0xFF) {
6960
_physicalStateObj.WriteByte((byte)reconnectData.
_delta
[i]._dataLength);
6964
WriteInt(reconnectData.
_delta
[i]._dataLength, _physicalStateObj);
6966
_physicalStateObj.WriteByteArray(reconnectData.
_delta
[i]._data, reconnectData.
_delta
[i]._dataLength, 0);