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); }
private void GetRouteList() { WayBillRouteList wayBillRouteList = WayBillRouteList.getInstance(); _routes = wayBillRouteList.GetList(this).ToList(); if (_routes == null) { _routes = new List <Route>(); } }