in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Newbie: Why is there only one field for Appointment Properties

Last post 06-15-2008 12:17 PM by duydoan. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-14-2008 1:18 AM

    Newbie: Why is there only one field for Appointment Properties

    Hi, i'm evaluating C1Schedule for WPF to integrate into my application. I'm facing a issue when mapping my SQL appointment table to schedule control. The properties of my appointment are in separated fields but when i look into sample and ms access database in Common folder, there's only one mapping for all properties and properties in sample database store in xml format. How can i do mapping with my SQL table.

     Thanks

     Duy T. Doan

  • 06-15-2008 5:55 AM In reply to

    Re: Newbie: Why is there only one field for Appointment Properties

    > Hi, i'm evaluating C1Schedule for WPF to integrate into my application. I'm facing a
    > issue when mapping my SQL appointment table to schedule control. The properties of my
    > appointment are in separated fields but when i look into sample and ms access database
    > in Common folder, there's only one mapping for all properties and properties in sample
    > database store in xml format. How can i do mapping with my SQL table.

    Appointment object has more than 30 properties. It would be too complicated to require the
    separate binding for each of them. I think, that the single mapping works better for most
    users. If you need more fields in your database (either for some Appointment properties or
    for any custom information which is not included into appointment but included into your
    business objects), you can handle that from code. For example, you can change your
    DataSource fields in event handlers for AppointmentChanged event.
  • 06-15-2008 12:17 PM In reply to

    Re: Newbie: Why is there only one field for Appointment Properties

    Thanks for the answer. I have something to ask as below:

    1. In case of i'm using Schedule control in un-bound mode, is there anyway to set Key property of appointment. I'm loading Appointment from db, create appointment at runtime but i can not set Key property as it's readonly.

    2. Will C1 have any plan to do Gantt chart for WPF in near future? I'm evaluating C1 WPF for purchasing to upgrade our project to WPF, what missing is Gantt Chart to show task timeline, resources etc...

     Regards.

Page 1 of 1 (3 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.