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