Skip to content

Syntax of WithOutputParameter method #92

@leevva

Description

@leevva

Documented syntax doesn't work:

string output = null;
StoredProcedure.Create("dbo", "MyStoredProc")
               .WithOutputParameter("Name", s => output = s);

This way it works:

string output = null;
StoredProcedure.Create("dbo", "MyStoredProc")
               .WithOutputParameter<StoredProcedure, string>("Name", s => output = s);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions