6 writes to _handleState
System.Data.Odbc (6)
System\Data\Odbc\OdbcConnectionHandle.cs (6)
69
_handleState
= HandleState.Transacted;
133
_handleState
= HandleState.TransactionInProgress;
172
_handleState
= HandleState.Transacted;
179
_handleState
= HandleState.Connected;
201
_handleState
= HandleState.Connected;
219
_handleState
= HandleState.Allocated;
7 references to _handleState
System.Data.Odbc (7)
System\Data\Odbc\OdbcConnectionHandle.cs (7)
58
Debug.Assert(HandleState.Connected <=
_handleState
, "AutoCommitOff while in wrong state?");
167
if (HandleState.TransactionInProgress ==
_handleState
)
176
if (HandleState.Transacted ==
_handleState
)
189
Debug.Assert(HandleState.Allocated ==
_handleState
, "SQLDriverConnect while in wrong state?");
216
if ((HandleState.Connected ==
_handleState
) || (HandleState.TransactionInProgress ==
_handleState
))
221
Debug.Assert(HandleState.Allocated ==
_handleState
, "not expected HandleState.Allocated");