Commit 1f7d2be3 authored by Sam Saffron's avatar Sam Saffron

added demo of IDictionary support for expando

parent b68362f5
...@@ -629,6 +629,14 @@ public void TestFlexibleMultiMapping() ...@@ -629,6 +629,14 @@ public void TestFlexibleMultiMapping()
} }
public void TestFastExpandoSupportsIDictionary()
{
var row = connection.Query("select 1 A, 'two' B").First() as IDictionary<string, object>;
row["A"].IsEqualTo(1);
row["B"].IsEqualTo("two");
}
/* TODO: /* TODO:
* *
public void TestMagicParam() public void TestMagicParam()
......
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