Exemplo n.º 1
0
 public bool ProductInsert(clsProduct newProduct)
 {
     if (_productCol.InsertProduct(newProduct) == 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemplo n.º 2
0
 public bool Insert()
 {
     clsProductCollection _prdCol = new clsProductCollection();
     return (_prdCol.InsertProduct(this) == 1);
 }
Exemplo n.º 3
0
        } // Update()

        public bool Insert()
        {
            clsProductCollection _prdCol = new clsProductCollection();

            return(_prdCol.InsertProduct(this) == 1);
        } // Insert()