Esempio n. 1
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);
        }
Esempio n. 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);
        }