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

            return(Helper.executeNonQueryBool(sQuery));
        }
예제 #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));
        }
예제 #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));
        }