Commit 723e51b4 authored by Sam Saffron's avatar Sam Saffron

added a private prop test

parent 1f7d2be3
......@@ -637,6 +637,23 @@ public void TestFastExpandoSupportsIDictionary()
row["B"].IsEqualTo("two");
}
class PrivateDan
{
public int Shadow { get; set; }
private string ShadowInDB
{
set
{
Shadow = value == "one" ? 1 : 0;
}
}
}
public void TestDapperSetsPrivates()
{
connection.Query<PrivateDan>("select 'one' ShadowInDB").First().Shadow.IsEqualTo(1);
}
/* TODO:
*
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