![]() |
Multiple vs Singular |
Post Reply ![]() |
Author | |
pitronot ![]() Newbie ![]() Joined: 24 May 2009 Location: Israel Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 26 May 2009 at 4:24pm |
I have been playing around with the calendarControl for a few days now. This is what I have learnt. you can connect in 2 ways: single user: single CalendarResource you just connect the CalendarControl.SetDataProvider directly to your data provider.Multiple User:
Create CalendarResource per Resource (ViewingGroup)
each Resource needs it's own dataprovider
each Resource has ShechduleIDs collection which shows to whom Events can be scheduled to and is connected to multiple CalendarSchedule objects.
each DataProvider has a collection called Schedules [kinda like different calendars]
The Schedules collection shows what the DataProvider is to filter and read from it's datawarehouse to find events
The Schedules collection is connected to multiple CalendarSchedules.
The difference between Schedules and ScheduleIDs is purely functional, they have pretty much the same objectives: to hold a collection of CalendarSchedule objects, and there only difference is in their respective utlity members for locating, adding and removing individual CalendarSchedule items to them.
-----------
To move from multiple back to singular without breaking your model you do the following:
*** This will automaticaly be done for you if you use the SetDataProvider function.
this is incase you do not wish to use it.
|
|
Mickey Perlstein Development Manager |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |