Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Update ( 
 | 
  IOEvent importedobject, 
 | 
  String datasource 
 | 
) 
 | 
{ 
 | 
  Description: 'Update attributes for IOEvent' 
 | 
  TextBody: 
 | 
  [* 
 | 
    //Update the input out object according to the given imported object 
 | 
    //the attribute speak for themselves 
 | 
    this.CalendarID( importedobject.CalendarID() ); 
 | 
    this.CalendarType( importedobject.CalendarType() ); 
 | 
    this.Category( importedobject.Category() ); 
 | 
    this.DataSource( importedobject.DataSource() ); 
 | 
    this.Duration( importedobject.Duration() ); 
 | 
    this.IsAllDay( importedobject.IsAllDay() ); 
 | 
    this.IsDefault( importedobject.IsDefault() ); 
 | 
    this.IsRecurring( importedobject.IsRecurring() ); 
 | 
    this.IsSoftDeleted( importedobject.IsSoftDeleted() ); 
 | 
    this.Mode( importedobject.Mode() ); 
 | 
    this.PartialCapacity( importedobject.PartialCapacity() ); 
 | 
    this.PatternDaily_IsEveryWeekday ( importedobject.PatternDaily_IsEveryWeekday() ); 
 | 
    this.PatternMonthly_Day( importedobject.PatternMonthly_Day() ); 
 | 
    this.PatternMonthly_DayOfWeek( importedobject.PatternMonthly_DayOfWeek() ); 
 | 
    this.PatternMonthly_IsDay( importedobject.PatternMonthly_IsDay() ); 
 | 
    this.PatternMonthly_WeekOfMonth( importedobject.PatternMonthly_WeekOfMonth() ); 
 | 
    this.PatternType( importedobject.PatternType() ); 
 | 
    this.PatternWeekly_Weekdays( importedobject.PatternWeekly_Weekdays() ); 
 | 
    this.PatternYearly_Day( importedobject.PatternYearly_Day() ); 
 | 
    this.PatternYearly_DayOfWeek( importedobject.PatternYearly_DayOfWeek() ); 
 | 
    this.PatternYearly_IsDay( importedobject.PatternYearly_IsDay() ); 
 | 
    this.PatternYearly_Month( importedobject.PatternYearly_Month() ); 
 | 
    this.PatternYearly_WeekOfMonth( importedobject.PatternYearly_WeekOfMonth() ); 
 | 
    this.RecurrenceInterval( importedobject.RecurrenceInterval() ); 
 | 
    this.StartTimeOfDay( importedobject.StartTimeOfDay() ); 
 | 
    this.Subject( importedobject.Subject() ); 
 | 
    this.Timestamp( importedobject.Timestamp() ); 
 | 
    this.Type( importedobject.Type() ); 
 | 
     
 | 
    this.CustomUpdate( importedobject ); 
 | 
  *] 
 | 
} 
 |