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