public void TestInsertWithStaticTypeObject()
        {
            TraceHelper.TraceTestName();
            var db = OpenDatabase();

            var customer = new Customer { FName = "Charles", LName = "Dickens", Company = "Bleak House" };

            var actual = db.Customers.Insert(customer);

            Assert.IsNotNull(actual);
            Assert.AreEqual("Charles", actual.FName.Trim());
            Assert.AreEqual("Dickens", actual.LName.Trim());
            Assert.AreEqual("Bleak House", actual.Company.Trim());
        }
        public void TestUpdateWithStaticTypeObject()
        {
            TraceHelper.TraceTestName();
            var db = OpenDatabase();

            var customer = new Customer { CustomerNum = 113, FName = "Lana-X", LName="Beatty-Y", Company = "Sportstown-Z" };

            db.Customers.Update(customer);

            Customer actual = db.Customers.FindByCustomerNum(113);

            Assert.IsNotNull(actual);
            Assert.AreEqual("Lana-X", actual.FName.Trim());
            Assert.AreEqual("Beatty-Y", actual.LName.Trim());
            Assert.AreEqual("Sportstown-Z", actual.Company.Trim());
        }