コード例 #1
0
        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);
            }
        }
コード例 #2
0
        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);
        }
コード例 #3
0
        public void FillAP_CERTIX(CertixDS ds, decimal IDMISURECERTIX)
        {
            CertixWSAdapter a = new CertixWSAdapter(DbConnection, DbTransaction);

            a.FillAP_CERTIX(ds, IDMISURECERTIX);
        }
コード例 #4
0
        public void FillMAGAZZ(CertixDS ds, List <string> IDMAGAZZ)
        {
            CertixWSAdapter a = new CertixWSAdapter(DbConnection, DbTransaction);

            a.FillMAGAZZ(ds, IDMAGAZZ);
        }
コード例 #5
0
        public void FillUSR_PRD_MOVFASIByBarcode(CertixDS ds, string Barcode)
        {
            CertixWSAdapter a = new CertixWSAdapter(DbConnection, DbTransaction);

            a.FillUSR_PRD_MOVFASIByBarcode(ds, Barcode);
        }
コード例 #6
0
        public void FillAP_GALVANICA_SPESSORI(string Brand, string Finitura, CertixDS ds)
        {
            CertixWSAdapter a = new CertixWSAdapter(DbConnection, DbTransaction);

            a.FillAP_GALVANICA_SPESSORI(Brand, Finitura, ds);
        }
コード例 #7
0
        public void UpdateTable(string tablename, CertixDS ds)
        {
            CertixWSAdapter a = new CertixWSAdapter(DbConnection, DbTransaction);

            a.UpdateTable(tablename, ds);
        }