Welcome to LightSwitch Desktop Edition > Scheduler for LightSwitch Overview > Scheduler for LightSwitch Quick Start > Binding C1Scheduler to a Data Source > Adding a Primary Data Source |
When binding C1Scheduler to the primary appointments data source, the data source must have at least seven specific properties set in order for the binding to work correctly. These properties include: Id, Subject, StartTime, EndTime, Body, Location, and Properties. The actual property names can be different, but the date/time and subject properties must be marked as required. The primary key property can be an integer, string, or GUID. The remaining string properties must be present, although they need not contain any data. The final property (Properties) is used to store internal data in XML format; therefore, its Maximum Length setting (default: 255) should be cleared.
To add a data source to bind to C1Scheduler, follow these steps: