Пример #1
0
        public void TestProfiledSqlQuery()
        {
            var profiled = new ProfiledDbConnection((DbConnection)Connection(), MiniProfiler.Current);
            var result   = profiled.QuerySql <int>("SELECT @p --MiniProfiler", new { p = 1 }).First();

            Assert.AreEqual((int)1, result);
        }