public void FillUSR_PRD_FASI(CertixDS ds, List <string> IDPRDFASE) { List <string> Presenti = ds.USR_PRD_FASI.Select(x => x.IDPRDFASE).Distinct().ToList(); List <string> Mancanti = IDPRDFASE.Except(Presenti).ToList(); CertixWSAdapter a = new CertixWSAdapter(DbConnection, DbTransaction); while (Mancanti.Count > 0) { List <string> daCaricare; if (Mancanti.Count > 999) { daCaricare = Mancanti.GetRange(0, 999); Mancanti.RemoveRange(0, 999); } else { daCaricare = Mancanti.GetRange(0, Mancanti.Count); Mancanti.RemoveRange(0, Mancanti.Count); } a.FillUSR_PRD_FASI(ds, daCaricare); } }
public void FillAP_GALVANICA_SPESSORI(CertixDS ds, string IDMAGAZZ, string IDMAGAZZ_WIP) { CertixWSAdapter a = new CertixWSAdapter(DbConnection, DbTransaction); a.FillAP_GALVANICA_SPESSORI(ds, IDMAGAZZ, IDMAGAZZ_WIP); }
public void FillAP_CERTIX(CertixDS ds, decimal IDMISURECERTIX) { CertixWSAdapter a = new CertixWSAdapter(DbConnection, DbTransaction); a.FillAP_CERTIX(ds, IDMISURECERTIX); }
public void FillMAGAZZ(CertixDS ds, List <string> IDMAGAZZ) { CertixWSAdapter a = new CertixWSAdapter(DbConnection, DbTransaction); a.FillMAGAZZ(ds, IDMAGAZZ); }
public void FillUSR_PRD_MOVFASIByBarcode(CertixDS ds, string Barcode) { CertixWSAdapter a = new CertixWSAdapter(DbConnection, DbTransaction); a.FillUSR_PRD_MOVFASIByBarcode(ds, Barcode); }
public void FillAP_GALVANICA_SPESSORI(string Brand, string Finitura, CertixDS ds) { CertixWSAdapter a = new CertixWSAdapter(DbConnection, DbTransaction); a.FillAP_GALVANICA_SPESSORI(Brand, Finitura, ds); }
public void UpdateTable(string tablename, CertixDS ds) { CertixWSAdapter a = new CertixWSAdapter(DbConnection, DbTransaction); a.UpdateTable(tablename, ds); }