Пример #1
0
 public void UpdateGEOFenceImportDB(GEOFenceImportDataSet aGEOFenceImportDataSet)
 {
     try
     {
         aGEOFenceImportTableAdapter = new GEOFenceImportDataSetTableAdapters.geofenceimportTableAdapter();
         aGEOFenceImportTableAdapter.Update(aGEOFenceImportDataSet.geofenceimport);
     }
     catch (Exception Ex)
     {
         TheEventLogClass.InsertEventLogEntry(DateTime.Now, "GEO Fence Class // Update GEO Fence Import DB " + Ex.Message);
     }
 }
Пример #2
0
        public GEOFenceImportDataSet GetGEOFenceImportInfo()
        {
            try
            {
                aGEOFenceImportDataSet      = new GEOFenceImportDataSet();
                aGEOFenceImportTableAdapter = new GEOFenceImportDataSetTableAdapters.geofenceimportTableAdapter();
                aGEOFenceImportTableAdapter.Fill(aGEOFenceImportDataSet.geofenceimport);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "GEO Fence Class // Get GEO Fence Import Info " + Ex.Message);
            }

            return(aGEOFenceImportDataSet);
        }