Exemple #1
0
        public override void Save()
        {
            _provider.Insert("WayBillRoute", ID, WayBillDay.ID, Route.MyPoint1.ID, Route.MyPoint2.ID, Route.Distance);

            WayBillRouteList wayBillRouteList = WayBillRouteList.getInstance();

            wayBillRouteList.Add(this);
        }
Exemple #2
0
        private void GetRouteList()
        {
            WayBillRouteList wayBillRouteList = WayBillRouteList.getInstance();

            _routes = wayBillRouteList.GetList(this).ToList();

            if (_routes == null)
            {
                _routes = new List <Route>();
            }
        }