public int AddSaleLine(Int32 SaleID, Int32 ProductID, double Price, string Notes) { clsDBConnection db = new clsDBConnection(); //add the parameters db.AddParameter("@saleID", SaleID); //add the parameters db.AddParameter("@productID", ProductID); //add the parameters db.AddParameter("@price", Price); //add the parameters db.AddParameter("@notes", Notes); //execute the stored procedure int Result = db.Execute("AddSaleLineProcedure"); return(Result); }
public clsDBRepair() { db = new clsDBConnection(); }
public clsDBSupplier() { db = new clsDBConnection(); }
public clsDBLogin() { db = new clsDBConnection(); }
public clsDBDevice() { db = new clsDBConnection(); }
public claDBSale() { db = new clsDBConnection(); }
public clsDBProductRecord() { db = new clsDBConnection(); }
public clsDBSaleSearchSP() { db = new clsDBConnection(); }