Skip to content

Instantly share code, notes, and snippets.

@mikebeaton
Created September 19, 2019 12:15
Show Gist options
  • Save mikebeaton/b6b36fdb964228f3a95ca01a852931c2 to your computer and use it in GitHub Desktop.
Save mikebeaton/b6b36fdb964228f3a95ca01a852931c2 to your computer and use it in GitHub Desktop.
var result = db.ExecuteProcedure("my_add_proc", inParams: new { a = 1, b = 2}, outParams: new { c = (int?)null });
Console.WriteLine(result.c); // 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment