예제 #1
0
        public void execute_raw_sql_from_file()
        {
            DropTable();
            DropSp("MyGetCustomer");
            _myDb.ExecuteSqlRawFromFile("./Contents/CreateTable.sql");
            _myDb.ExecuteSqlRawFromFile("./Contents/MyGetCustomer.sql");

            var customer = _myDb.Customers
                           .First(x => x.Id == 3);

            Assert.AreEqual("Jack", customer.Name);
        }