public bool Delete(EL.Registrations.Products productEL) { return(Helper.executeNonQueryBool("delete from products where productid = '" + productEL.Productid + "' ")); }
public bool Update(EL.Registrations.Products productEL) { return(Helper.executeNonQueryBool("update products set productname = '" + productEL.Productname + "', productdescription = '" + productEL.Productdescription + "', subcategoryid = '" + productEL.Subcategoryid + "', productsku = '" + productEL.Productsku + "', productprice = '" + productEL.Productprice + "' where productid = '" + productEL.Productid + "' ")); }
public long Insert(EL.Registrations.Products productEL) { return(Helper.executeNonQueryLong("insert into products (productname, productdescription, subcategoryid, productsku, productprice) values ('" + productEL.Productname + "', '" + productEL.Productdescription + "', '" + productEL.Subcategoryid + "', '" + productEL.Productsku + "', '" + productEL.Productprice + "')")); }
public bool Delete(EL.Registrations.Products productEL) { return(ProductDL.Delete(productEL)); }
public bool Update(EL.Registrations.Products productEL) { return(ProductDL.Update(productEL)); }
public long Insert(EL.Registrations.Products productEL) { return(ProductDL.Insert(productEL)); }