예제 #1
0
        public void Find_AllColumns()
        {
            dynamic soh            = new SalesOrderHeaders();
            var     singleInstance = soh.Find(SalesOrderID: 43666);

            Assert.AreEqual(43666, singleInstance.SalesOrderID);
        }
예제 #2
0
        public void Find_OneColumn()
        {
            dynamic          soh            = new SalesOrderHeaders();
            SalesOrderHeader singleInstance = soh.Find(SalesOrderID: 43666, columns: "SalesOrderID");

            Assert.AreEqual(43666, singleInstance.SalesOrderID);
            Assert.AreEqual(0, singleInstance.CustomerID);
        }