Npgsql.NpgsqlState.ChangeState C# (CSharp) Method

ChangeState() protected static method

This method is used by the states to change the state of the context.
protected static ChangeState ( NpgsqlConnector context, NpgsqlState newState ) : void
context NpgsqlConnector
newState NpgsqlState
return void
        protected static void ChangeState(NpgsqlConnector context, NpgsqlState newState)
        {
            context.CurrentState = newState;
        }