Example #1
0
        public static List <SPValoreScheda> EstraiListaSPValoreScheda(int IdSPScheda, bool soloNonCancellati, SchedeProcessoDS ds)
        {
            using (SchedeProcessoBusiness bScheda = new SchedeProcessoBusiness())
            {
                bScheda.FillValoriSchede(ds, IdSPScheda, soloNonCancellati);
            }

            List <SPValoreScheda> valori = new List <SPValoreScheda>();

            foreach (SchedeProcessoDS.SPVALORISCHEDERow riga in ds.SPVALORISCHEDE)
            {
                SPValoreScheda elemento = CreaValoreScheda(riga);
                valori.Add(elemento);
            }
            return(valori);
        }