public bool Delete(EL.REGISTRATIONS.stocks stockEL) { return(stockDL.Delete(stockEL)); }
public bool Update(EL.REGISTRATIONS.stocks stockEL) { return(stockDL.Update(stockEL)); }
public long Insert(EL.REGISTRATIONS.stocks stockEL) { return(stockDL.Insert(stockEL)); }
public bool Delete(EL.REGISTRATIONS.stocks stockEL) { string sQuery = "DELETE FROM stocks where stockid = '" + stockEL.Stockid + "'"; return(Helper.executeNonQueryBool(sQuery)); }
public bool Update(EL.REGISTRATIONS.stocks stockEL) { string sQuery = "UPDATE stocks SET stock = '" + stockEL.Stock + "' WHERE stockid = '" + stockEL.Stockid + "'"; return(Helper.executeNonQueryBool(sQuery)); }
public long Insert(EL.REGISTRATIONS.stocks stockEL) { string sQuery = "INSERT INTO stocks (productid, stock) VALUES ('" + stockEL.Productid + "', '" + stockEL.Stock + "')"; return(Helper.executeNonQueryLong(sQuery)); }