public void WeirdTypeGetsConvertedToInt()
        {
            TraceHelper.TraceTestName();
            var db = DatabaseHelper.Open();

            var weirdValue = new WeirdType(101);
            var customer = db.Customers.FindByCustomerNum(weirdValue);
            Assert.AreEqual(101, customer.CustomerNum);
        }
        public void WeirdTypeUsedInQueryGetsConvertedToInt()
        {
            TraceHelper.TraceTestName();
            var db = DatabaseHelper.Open();

            var weirdValue = new WeirdType(101);
            var customer = db.Customers.QueryByCustomerNum(weirdValue).FirstOrDefault();
            Assert.IsNotNull(customer);
            Assert.AreEqual(101, customer.CustomerNum);
        }
Пример #3
0
        public void WeirdTypeGetsConvertedToInt()
        {
            TraceHelper.TraceTestName();
            var db = DatabaseHelper.Open();

            var weirdValue = new WeirdType(101);
            var customer   = db.Customers.FindByCustomerNum(weirdValue);

            Assert.AreEqual(101, customer.CustomerNum);
        }
Пример #4
0
        public void WeirdTypeUsedInQueryGetsConvertedToInt()
        {
            TraceHelper.TraceTestName();
            var db = DatabaseHelper.Open();

            var weirdValue = new WeirdType(101);
            var customer   = db.Customers.QueryByCustomerNum(weirdValue).FirstOrDefault();

            Assert.IsNotNull(customer);
            Assert.AreEqual(101, customer.CustomerNum);
        }