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