public void Add(int specid, params string[] toAdd) { var addedcost = toAdd[0]; var determinedby = toAdd[1]; Flash.Execute(Collection.Locate <IDbConnection>("quality"), "quality.spec_cost_impact_add", new { specid, addedcost, determinedby }); }
public void Add(int specid, params string[] toAdd) { var alloy = toAdd[0]; var temper = toAdd[1]; Flash.Execute(Collection.Locate <IDbConnection>("quality"), "quality.spec_alloy_temper_add", new { specid, alloy, temper }); }
public void Save(int specid, string costImpacts) { if (costImpacts == null) { return; } costImpacts .Split('|') .ToList() .ForEach(c => Flash.Execute(Collection.Locate <IDbConnection>("quality"), "quality.spec_cost_impact_add", new { specid, addedcost = c.Split('-')[0], determinedby = c.Split('-')[1] }) ); }
public void Save(int specid, string alloyTempers) { if (alloyTempers == null) { return; } alloyTempers .Split('|') .ToList() .ForEach(a => Flash.Execute(Collection.Locate <IDbConnection>("quality"), "quality.spec_alloy_temper_add", new { specid, alloy = a.Split('-')[0], temper = a.Split('-')[1] }) ); }
public void Save(int specid, string deliveryImpacts) { if (deliveryImpacts == null) { return; } deliveryImpacts .Split('|') .ToList() .ForEach(d => Flash.Execute(Collection.Locate <IDbConnection>("quality"), "quality.spec_delivery_impact_add", new { specid, impact = d }) ); }
public void Save(int specid, string equivSpecs) { if (equivSpecs == null) { return; } equivSpecs .Split('|') .ToList() .ForEach(s => Flash.Execute(Collection.Locate <IDbConnection>("quality"), "quality.spec_equiv_add", new { specid, specToAdd = s }) ); }
public void Delete(int id) => Flash.Execute(Collection.Locate <IDbConnection>("quality"), "quality.spec_cost_impact_delete", new { id });
public void Delete(int id) { Flash.Execute(Collection.Locate <IDbConnection>("quality"), "quality.spec_alloy_temper_delete", new { id }); }
public void Add(int specid, params string[] toAdd) { Flash.Execute(Collection.Locate <IDbConnection>("quality"), "quality.spec_delivery_impact_add", new { specid, impact = toAdd[0] }); }
public void Add(int specid, params string[] toAdd) { Flash.Execute(Collection.Locate <IDbConnection>("quality"), "quality.spec_equiv_add", new { specid, specToAdd = toAdd[0] }); }