Ejemplo n.º 1
0
        public void Create()
        {
            ProductsProps p = new ProductsProps();

            p.code        = "TEST";
            p.description = "Test Product";
            p.quantity    = 1;
            p.unitPrice   = 10.50m;

            db.Create(p);
            ProductsProps x = (ProductsProps)db.Retrieve(p.ID);

            Assert.AreEqual(x.description, p.description);
        }