Beispiel #1
0
        public void GetRecords()
        {
            MOE.Common.Data.SignalsTableAdapters.SignalsTableAdapter sta = new Data.SignalsTableAdapters.SignalsTableAdapter();
            SignalsTable = sta.GetData();

            MOE.Common.Data.SignalsTableAdapters.Graph_DetectorsTableAdapter gta = new Data.SignalsTableAdapters.Graph_DetectorsTableAdapter();
            DetectorsTable = gta.GetData();

            MOE.Common.Data.SignalsTableAdapters.SPM_CommentTableAdapter cta = new Data.SignalsTableAdapters.SPM_CommentTableAdapter();
            CommentsTable = cta.GetAllData();

            MOE.Common.Data.SignalsTableAdapters.ApproachRouteDetailTableAdapter rta = new Data.SignalsTableAdapters.ApproachRouteDetailTableAdapter();
            RouteDetailTable = rta.GetData();



            db = new Models.SPM();
        }
Beispiel #2
0
        public void GetRecords()
        {
            Console.WriteLine("Getting records from old database tables.");
            MOE.Common.Data.SignalsTableAdapters.SignalsTableAdapter sta = new Data.SignalsTableAdapters.SignalsTableAdapter();

            SignalsTable = sta.GetData();

            MOE.Common.Data.SignalsTableAdapters.Graph_DetectorsTableAdapter gta = new Data.SignalsTableAdapters.Graph_DetectorsTableAdapter();
            DetectorsTable = gta.GetData();

            MOE.Common.Data.SignalsTableAdapters.SPM_CommentTableAdapter cta = new Data.SignalsTableAdapters.SPM_CommentTableAdapter();
            CommentsTable = cta.GetAllData();

            MOE.Common.Data.SignalsTableAdapters.ApproachRouteDetailTableAdapter rta = new Data.SignalsTableAdapters.ApproachRouteDetailTableAdapter();
            RouteDetailTable = rta.GetData();

            MOE.Common.Data.SignalsTableAdapters.ApproachRouteTableAdapter arAdapter = new Data.SignalsTableAdapters.ApproachRouteTableAdapter();
            RouteTable = arAdapter.GetData();

            MOE.Common.Data.ActionTableAdapters.ActionLog_DisabledTableAdapter alta = new Data.ActionTableAdapters.ActionLog_DisabledTableAdapter();

            ActionLogTable = alta.GetData();


            MOE.Common.Data.ActionTableAdapters.Metric_ListTableAdapter mta = new Data.ActionTableAdapters.Metric_ListTableAdapter();
            MetricList = mta.GetData();

            MOE.Common.Data.ActionTableAdapters.AgenciesTableAdapter ata = new MOE.Common.Data.ActionTableAdapters.AgenciesTableAdapter();
            ActionAgencies = ata.GetData();

            MOE.Common.Data.ActionTableAdapters.Action_Log_MetricsTableAdapter almt = new Data.ActionTableAdapters.Action_Log_MetricsTableAdapter();
            ActionLogMetrics = almt.GetData();

            MOE.Common.Data.ActionTableAdapters.ActionsListTableAdapter actionsTA = new Data.ActionTableAdapters.ActionsListTableAdapter();
            ActionsList = actionsTA.GetData();

            MOE.Common.Data.ActionTableAdapters.Action_Log_ActionsTableAdapter actionlogactionsta = new Data.ActionTableAdapters.Action_Log_ActionsTableAdapter();
            ActionLogActions = actionlogactionsta.GetData();

            MOE.Common.Data.SettingsTableAdapters.MOE_UsersTableAdapter usersTA = new MOE.Common.Data.SettingsTableAdapters.MOE_UsersTableAdapter();
            OldUsersTable = usersTA.GetData();

            db = new Models.SPM();
        }