3 writes to _currentSessionData
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (3)
361
_currentSessionData
= new SessionData();
364
_currentSessionData
= new SessionData(_recoverySessionData);
1214
_currentSessionData
= null;
25 references to _currentSessionData
System.Data (25)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (24)
183
if (
_currentSessionData
!= null) {
184
_currentSessionData
._database = CurrentDatabase;
185
_currentSessionData
._language = _currentLanguage;
187
return
_currentSessionData
;
1219
if (
_currentSessionData
!= null && _recoverySessionData==null) {
1220
_currentSessionData
._initialDatabase = CurrentDatabase;
1221
_currentSessionData
._initialCollation =
_currentSessionData
._collation;
1222
_currentSessionData
._initialLanguage = _currentLanguage;
1230
if (
_currentSessionData
!= null) {
1231
_currentSessionData
._encrypted = isEncrypted;
1925
if (
_currentSessionData
!= null && !string.IsNullOrEmpty(host)) {
1927
if (
_currentSessionData
._resolvedAliases.TryGetValue(host, out hostPortPair)) {
1933
_currentSessionData
._resolvedAliases.Add(serverInfo.UserServerName, new Tuple<string, string>(host, protocol));
2125
if (
_currentSessionData
!= null) {
2126
_currentSessionData
._collation = rec.newCollation;
2158
if (
_currentSessionData
!= null) {
2159
_currentSessionData
.Reset();
2191
if (
_currentSessionData
!= null) {
2192
_currentSessionData
._tdsVersion = rec.tdsVersion;
2505
Debug.Assert(
_currentSessionData
._unrecoverableStatesCount == 0, "Unrecoverable states count should be 0");
2521
_currentSessionData
._initialState[stateId] = stateData;
2524
_currentSessionData
._delta[stateId] = new SessionStateRecord { _data = stateData, _dataLength = len, _recoverable = true, _version = 0 };
2525
_currentSessionData
._deltaDirty = true;
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
2179
if (!TryProcessSessionState(stateObj, tokenLength, _connHandler.
_currentSessionData
)) {