Closed GoogleCodeExporter closed 9 years ago
I like this ...
Original comment by sam.saff...@gmail.com
on 1 Jun 2011 at 12:55
Original comment by marc.gravell
on 1 Jun 2011 at 8:51
public void TestExecuteCommandWithHybridParameters()
{
var p = new DynamicParameters(new { a = 1, b = 2 });
p.Add("@c", dbType: DbType.Int32, direction: ParameterDirection.Output);
connection.Execute(@"set @c = @a + @b", p);
p.Get<int>("@c").IsEqualTo(3);
}
Original comment by marc.gravell
on 1 Jun 2011 at 11:48
Original issue reported on code.google.com by
james.ne...@gmail.com
on 31 May 2011 at 10:34