Skip to content

Example for Scenario not covered in Examples #1655

@williambowsher

Description

@williambowsher

Firstly thank you for the great work with the library, its invaluable to so many of us.

So my problem is the following:

I have a method that I call that internally is using SQLCommand with output parameters, the output parameters are then updating the Method parameter that I originally passed in.

I have 3 properties that get set on the input parameters, how do I set those with a Setup command?

This method is an async method just returning Task, with the following signature

Task PerformAction(MethodInputParameter parameters);

parameters before the call would be

parameter.Property1 equals null
parameter.Property2 equals null
parameter.Property3 equals null

after the call

parameter.Property1 equals "value1"
parameter.Property2 equals "value2"
parameter.Property3 equals "value3"

Back this issue
Back this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions