protected override void OnLoaded(bool isInitialLoad) { //Setup IReactiveNotifyPropertyChanged _reactiveHelper = new MakeObjectReactiveHelper(this); if (isInitialLoad) SubLocationsListWrapper = new OrderedEntityCollection<SubLocation>(this.SubLocations, "Number", false, GetSubLocationsListWrapper); }
partial void OnCreation() { //Setup IReactiveNotifyPropertyChanged _reactiveHelper = new MakeObjectReactiveHelper(this); SubLocationsListWrapper = new OrderedEntityCollection<SubLocation>(this.SubLocations, "Number", false, GetSubLocationsListWrapper); }
partial void OnCreation() { RouteDestinationsListWrapper = new OrderedEntityCollection<RouteDestination>(this.RouteDestinations, "OrderInRoute", false, GetRouteDestinationsListWrapper); }
partial void OnInitializedSilverlight() { RouteTasksListWrapper = new OrderedEntityCollection<RouteTask>(this.RouteTasks, "OrderInRouteDestination", false, GetRouteTasksListWrapper); this.RouteTasks.EntityAdded += (s, e) => this.RaisePropertyChanged("RouteTasksListWrapper"); this.RouteTasks.EntityRemoved += (s, e) => this.RaisePropertyChanged("RouteTasksListWrapper"); }
protected override void OnLoaded(bool isInitialLoad) { if (isInitialLoad) { RouteDestinationsListWrapper = new OrderedEntityCollection<RouteDestination>(this.RouteDestinations, "OrderInRoute", false, GetRouteDestinationsListWrapper); } }