Пример #1
0
 public async Task ImportFakturaRrWierszFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection      = CsvImporter.GetCollectionFromCsv <FakturaRrWiersz>(fullFilePath);
         Jpk.FakturaRrWiersz = new ObservableCollection <FakturaRrWiersz>(collection);
     });
 }
Пример #2
0
 public async Task ImportOswiadczenieFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection   = CsvImporter.GetCollectionFromCsv <Oswiadczenie>(fullFilePath);
         Jpk.Oswiadczenie = new ObservableCollection <Oswiadczenie>(collection);
     });
 }
Пример #3
0
 public override async Task ImportZakupyFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection             = CsvImporter.GetCollectionFromCsv <EwidencjaZakupWiersz>(fullFilePath);
         Jpk.Ewidencja.ZakupWiersze = new ObservableCollection <EwidencjaZakupWiersz>(collection);
     });
 }
Пример #4
0
 public async Task ImportSpisFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection = CsvImporter.GetCollectionFromCsv <PkpirSpis>(fullFilePath);
         Jpk.PkpirSpis  = new ObservableCollection <PkpirSpis>(collection);
     });
 }
Пример #5
0
 public async Task ImportMmWartoscFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection   = CsvImporter.GetCollectionFromCsv <MmWartosc>(fullFilePath);
         Jpk.Mm.MmWartosc = new ObservableCollection <MmWartosc>(collection);
     });
 }
Пример #6
0
 public async Task ImportZakupyFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection  = CsvImporter.GetCollectionFromCsv <ZakupWiersz>(fullFilePath);
         Jpk.ZakupWiersz = new ObservableCollection <ZakupWiersz>(collection);
     });
 }
Пример #7
0
 public async Task ImportWyciagFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection    = CsvImporter.GetCollectionFromCsv <WyciagWiersz>(fullFilePath);
         Jpk.WyciagWiersze = new ObservableCollection <WyciagWiersz>(collection);
     });
 }
Пример #8
0
 public async Task ImportDziennikFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection = CsvImporter.GetCollectionFromCsv <Dziennik>(fullFilePath);
         Jpk.Dziennik   = new ObservableCollection <Dziennik>(collection);
     });
 }
Пример #9
0
        public async Task ImportZamowienieWierszFromCsv(string fullFilePath)
        {
            await Task.Run(() =>
            {
                if (selectedZamowienie == null)
                {
                    return;
                }

                var collection = CsvImporter.GetCollectionFromCsv <ZamowienieWiersz>(fullFilePath);
                SelectedZamowienie.ZamowienieWiersz = new ObservableCollection <ZamowienieWiersz>(collection);
            });
        }