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