Ejemplo n.º 1
0
        public void D16_CustomerWithoutSetter()
        {
            Assert.Ignore("See if this is specified");
            Northwind dbo = CreateDB();
            NorthwindAbstractBaseClass db = new NorthwindAbstractBaseClass(dbo.Connection);
            var Customer = (from c in db.ChildCustomers
                            where c.City == "London"
                            select c).First();

            Assert.IsTrue(Customer.City == "London");
        }
Ejemplo n.º 2
0
 public void D16_CustomerWithoutSetter()
 {
     Assert.Ignore("See if this is specified");
     Northwind dbo = CreateDB();
     NorthwindAbstractBaseClass db = new NorthwindAbstractBaseClass(dbo.Connection);
     var Customer = (from c in db.ChildCustomers
                     where c.City == "London"
                     select c).First();
     Assert.IsTrue(Customer.City == "London");
 }