Tests.DapperReadmeVsChain.Example5_Dapper C# (CSharp) Method

Example5_Dapper() private method

private Example5_Dapper ( ) : void
return void
        public void Example5_Dapper()
        {
            using (var connection = new SqlConnection(s_ConnectionString))
            {
                connection.Query<int>("select * from (select 1 as Id union all select 2 union all select 3) as X where Id in @Ids", new { Ids = new int[] { 1, 2, 3 } });
            }
        }