Пример #1
0
 public void Save(secCrawlerData dtst)
 {
     if (dtst.tblSEC_Forms.IsInitialized)
     {
         var adapter = new secCrawlerDataTableAdapters.tblSEC_FormsTableAdapter();
         adapter.Update(dtst.tblSEC_Forms);
     }
     if (dtst.tblSEC_FormsToIngest.IsInitialized)
     {
         var adapter = new secCrawlerDataTableAdapters.tblSEC_FormsToIngestTableAdapter();
         adapter.Update(dtst.tblSEC_FormsToIngest);
     }
 }
Пример #2
0
        public void Save(secCrawlerData dtst)
        {
            if (dtst.tblSEC_Forms.IsInitialized)
            {
                _adapter.Update(dtst.tblSEC_Forms);
            }
            if (!dtst.tblSEC_FormsLocalBLOB.IsInitialized)
            {
                return;
            }
            var adapter1 = new secCrawlerDataTableAdapters.tblSEC_FormsLocalBLOBTableAdapter();

            adapter1.Update(dtst.tblSEC_FormsLocalBLOB);
        }