Ejemplo n.º 1
0
        public void changeYBStation()
        {
            LineStationContext context = new LineStationContext();

            //var group = lineStationList.Where(x => x.attach == 1).GroupBy(x => x.UDID);
            //foreach (var item in group)
            //{
            //    context.backYBGuaiDian(item.Key, Attachtype);
            //    context.updateYBOtherInfo(item.Key, Attachtype);
            //}
            //根据上下行id与站点id 更新新的站点id
            lineStationList.Where(x => x.attach == 1).ToList().ForEach(x => context.updateYBStationId(x, Attachtype));
        }
Ejemplo n.º 2
0
        public void updateBaseInfo_MoBanCheCi()
        {
            LineStationContext context = new LineStationContext();

            lineStationList.Where(x => x.attach == 1).ToList().ForEach(x => context.updateBaseInfo_MoBanCheCi(x));
        }
Ejemplo n.º 3
0
        public void getLineStationList()
        {
            LineStationContext context = new LineStationContext();

            lineStationList = context.getLineStationList(Attachtype);
        }
Ejemplo n.º 4
0
        public void changeBusBigStation()
        {
            LineStationContext context = new LineStationContext();

            lineStationList.Where(x => x.attach == 1).ToList().ForEach(x => context.updateLineBigStationOfBus(x));
        }
Ejemplo n.º 5
0
        public void updateRec_ZuoYe_Check()
        {
            LineStationContext context = new LineStationContext();

            lineStationList.Where(x => x.attach == 1).ToList().ForEach(x => context.updateRec_ZuoYe_Check(x));
        }
Ejemplo n.º 6
0
        public void updateRec_BusDaZhan_New()
        {
            LineStationContext context = new LineStationContext();

            lineStationList.Where(x => x.attach == 1).ToList().ForEach(x => context.updateRec_BusDaZhan_New(x));
        }
Ejemplo n.º 7
0
        public void updateRec_BaojingHis()
        {
            LineStationContext context = new LineStationContext();

            lineStationList.Where(x => x.attach == 1).ToList().ForEach(x => context.updateRec_BaojingHis(x));
        }
Ejemplo n.º 8
0
        public void updateRec_ZhongJianChuanChe()
        {
            LineStationContext context = new LineStationContext();

            lineStationList.Where(x => x.attach == 1).ToList().ForEach(x => context.updateRec_ZhongJianChuanChe(x));
        }
Ejemplo n.º 9
0
        public void updateRec_DuanXiaoXi()
        {
            LineStationContext context = new LineStationContext();

            lineStationList.Where(x => x.attach == 1).ToList().ForEach(x => context.updateRec_DuanXiaoXi(x));
        }