Commit 5f1a30e9 authored by Matt Wilkinson's avatar Matt Wilkinson

Test for passing in an IDictionary<string, object>

parent dc17868d
...@@ -3842,6 +3842,15 @@ public void SO25297173_DynamicIn() ...@@ -3842,6 +3842,15 @@ public void SO25297173_DynamicIn()
result.Contains(6).IsTrue(); result.Contains(6).IsTrue();
} }
public void AllowIDictionaryParameters()
{
var parameters = new Dictionary<string, object>
{
{ "param1", 0 }
};
connection.Query("SELECT @param1", parameters);
}
#if POSTGRESQL #if POSTGRESQL
class Cat class Cat
......
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