示例#1
0
        public void apply_to_command()
        {
            var before = false;

            _db.WithSql("select 1").Apply(d => before = true).Query <Post>().First();
            Assert.True(before);
        }