6 writes to _handleState
System.Data (6)
fx\src\data\System\Data\Odbc\OdbcConnectionHandle.cs (6)
77
_handleState
= HandleState.Transacted;
136
_handleState
= HandleState.TransactionInProgress;
169
_handleState
= HandleState.Transacted;
176
_handleState
= HandleState.Connected;
199
_handleState
= HandleState.Connected;
216
_handleState
= HandleState.Allocated;
7 references to _handleState
System.Data (7)
fx\src\data\System\Data\Odbc\OdbcConnectionHandle.cs (7)
67
Debug.Assert(HandleState.Connected <=
_handleState
, "AutoCommitOff while in wrong state?");
166
if (HandleState.TransactionInProgress ==
_handleState
) {
174
if (HandleState.Transacted ==
_handleState
) { // AutoCommitOn
186
Debug.Assert(HandleState.Allocated ==
_handleState
, "SQLDriverConnect while in wrong state?");
214
if ((HandleState.Connected ==
_handleState
) || (HandleState.TransactionInProgress ==
_handleState
)) {
219
Debug.Assert(HandleState.Allocated ==
_handleState
, "not expected HandleState.Allocated");