Npgsql.NpgsqlState.ChangeState C# (CSharp) Méthode

ChangeState() protected static méthode

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
Résultat void
        protected static void ChangeState(NpgsqlConnector context, NpgsqlState newState)
        {
            context.CurrentState = newState;
        }