Esempio n. 1
0
 public bool Delete(EL.REGISTRATIONS.stocks stockEL)
 {
     return(stockDL.Delete(stockEL));
 }
Esempio n. 2
0
 public bool Update(EL.REGISTRATIONS.stocks stockEL)
 {
     return(stockDL.Update(stockEL));
 }
Esempio n. 3
0
 public long Insert(EL.REGISTRATIONS.stocks stockEL)
 {
     return(stockDL.Insert(stockEL));
 }
Esempio n. 4
0
        public bool Delete(EL.REGISTRATIONS.stocks stockEL)
        {
            string sQuery = "DELETE FROM stocks where stockid = '" + stockEL.Stockid + "'";

            return(Helper.executeNonQueryBool(sQuery));
        }
Esempio n. 5
0
        public bool Update(EL.REGISTRATIONS.stocks stockEL)
        {
            string sQuery = "UPDATE stocks SET stock = '" + stockEL.Stock + "' WHERE stockid = '" + stockEL.Stockid + "'";

            return(Helper.executeNonQueryBool(sQuery));
        }
Esempio n. 6
0
        public long Insert(EL.REGISTRATIONS.stocks stockEL)
        {
            string sQuery = "INSERT INTO stocks (productid, stock) VALUES ('" + stockEL.Productid + "', '" + stockEL.Stock + "')";

            return(Helper.executeNonQueryLong(sQuery));
        }