I am trying to use resources in R2 2017 But it appears the resource mapping has changed and I no longer see the resource provider method if that is the case how then can I add the datasource of resoucrces to the calendar which will be a linq list. At present I was trying the below method but cannot access that method ?
SchedulerBindingDataSource dataSource = new SchedulerBindingDataSource(); AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo(); BindingSource _bindingsource = new BindingSource(); ResourceMappingInfo _resource = new ResourceMappingInfo(); appointmentMappingInfo.Start = "ApptDate"; appointmentMappingInfo.End = "AppEnd"; appointmentMappingInfo.Duration = "ApptLength"; appointmentMappingInfo.UniqueId = "ID"; appointmentMappingInfo.Location = "Location"; appointmentMappingInfo.Summary = "THIS IS A TEST FOR SUMMARY"; appointmentMappingInfo.Description = "NAME"; dataSource.EventProvider.Mapping = appointmentMappingInfo; dataSource.EventProvider.DataSource = _bindingsource; _bindingsource.DataSource = SourceDal.getAppointments(monthCalendar1.SelectionRange.Start); appointmentMappingInfo.ResourceId = "ProviderID"; Resource resource = new Resource(); resource.Id = new EventId(0); resource.Name = "Robert Shoemate"; resource.Color = Color.Blue; resource.Visible = true; sourceNetAppointments.Resources.Add(resource); this.sourceNetAppointments.Resources this.sourceNetAppointments.ElementProvider = new MyElementProvider(this.sourceNetAppointments); this.sourceNetAppointments.DataSource = dataSource;