Commit d97932c7 authored by mgravell's avatar mgravell

fix inconsistent param name in test proc

parent 67fc0d80
......@@ -329,7 +329,7 @@ public void TestTVP()
try
{
connection.Execute("CREATE TYPE int_list_type AS TABLE (n int NOT NULL PRIMARY KEY)");
connection.Execute("CREATE PROC get_ints @ints int_list_type READONLY AS select * from @ints");
connection.Execute("CREATE PROC get_ints @integers int_list_type READONLY AS select * from @ints");
var nums = connection.Query<int>("get_ints", new IntDynamicParam(new int[] { 1, 2, 3 })).ToList();
Assert.Equal(1, nums[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment