示例#1
0
文件: ReadTest.cs 项目: mdae/MonoRT
        public void D15_DuplicateProperty()
        {
            Northwind     dbo             = CreateDB();
            NorthwindDupl db              = new NorthwindDupl(dbo.Connection);
            var           derivedCustomer = (from c in db.ChildCustomers
                                             where c.City == "London"
                                             select c).First();

            Assert.IsTrue(derivedCustomer.City == "London");
        }
示例#2
0
 public void D15_DuplicateProperty()
 {
     Northwind dbo = CreateDB();
     NorthwindDupl db = new NorthwindDupl(dbo.Connection);
     var derivedCustomer = (from c in db.ChildCustomers
                            where c.City == "London"
                            select c).First();
     Assert.IsTrue(derivedCustomer.City == "London");
 }