Data Model

2 posts, 0 answers
  1. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 17 Jul 2014 Link to this post

    Hi,

    I check your Datamodel at http://www.telerik.com/help/wpf/radscheduleview-populating-with-data-binding-to-db-sources.html

    And I also downloaded your xamlskd example (ScheduleView_WPF - WithDB).

    My problem - there is an interface IExceptionOccurence with the properties Appointment and ExceptionDate.
    Appointment references the originating recurrent appointment.

    But I don't understand the property ExceptionDate.
    To check I did:
    a.) Create a recurring appointment (every day at 9:00)
    b.) Changed one occurrence to 10:00
    c.) Changed that occurrence to 11:00

    What I got is
    b.)- added an ExceptionAppointment and an EceptionOccurrence pointing to the original Appointment
    -- ExcpetionAppointment Start and ExceptionOccurrence Exception Date have 10:00 as value
    c.) - changed the Start in the ExceptionAppointment to 11:00 - but did not change the ExceptionOccurrence - ExceptionDate

    Further I manually changed the ExceptionOccurrence Exception Date -- that has no effect at all
    But when I change the StartDate of the ExceptionAppointment the thing move in the Scheduler.

    So what is this "ExceptionDate" in the IExceptionOccurence?

    Manfred
  2. George
    Admin
    George avatar
    1332 posts

    Posted 22 Jul 2014 Link to this post

    Hello Manfred,

    Simply said the ExceptionDate property in IExceptionOccurence specify the original time when the occurrence should occur if it wasn't an exception. In the given context:

    a.) Create a recurring appointment (every day at 9:00)
    b.) Changed one occurrence to 10:00
    c.) Changed that occurrence to 11:00

    there will be only one ExceptionOccurence with ExceptionDate : (date when occur) at 9:00. Changing the time when exception starts or ends doesn't affect the ExceptionDate.

    Hope this information helps.

    Regards,
    George
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top