コード例 #1
0
ファイル: QueryRunnerTest.cs プロジェクト: bzyk72/Shiretii
        public void TestExecuteScript()
        {
            string query = "select * from AddressBook";

            QueryRunner runner = new QueryRunner();
            List<AddressBook> addresses = runner.Execute<AddressBook>(query);

            Assert.AreEqual(3, addresses.Count);
        }
コード例 #2
0
        public void TestExecuteScript()
        {
            string query = "select * from AddressBook";

            QueryRunner        runner    = new QueryRunner();
            List <AddressBook> addresses = runner.Execute <AddressBook>(query);

            Assert.AreEqual(3, addresses.Count);
        }