protected static void ChangeState(NpgsqlConnector context, NpgsqlState newState) { context.CurrentState = newState; }