public iONCalendarEvent(iONCredentials credentials)
 {
     Invitees = new List<EventInvitee>();
     Reminders = new List<EventReminder>();
     _credentials = credentials;
     this.Type = EventType.Private;
 }
 public iONCalendar(iONCredentials credentials, Data.Tables.Calendar calendar)
 {
     _credentials = credentials;
     this.AuthorID = credentials.UserID;
     this.CalendarID = calendar.ID;
     this.Name = calendar.Name;
     this.Description = this.Description;
     this.AuthorID = calendar.AuthorID;
     this.WasLazyLoaded = true;
 }
 public iONCalendarEvent(iONCredentials credentials, Event e)
 {
     Invitees = new List<EventInvitee>();
     Reminders = new List<EventReminder>();
     _credentials = credentials;
     this.EventID = e.ID;
     this.StartTime = e.StartTime;
     this.EndTime = e.EndTime;
     this.CalendarID = e.CalendarID;
     this.Type = e.Type;
     this.Title = e.Title;
     this.Location = e.Location;
     this.Contents = e.Contents;
     WasLazyLoaded = true;
 }
 public CalendarContext(iONCredentials credentials)
     : base(credentials.Server, credentials.Database, credentials.Username, credentials.Password)
 {
 }
 public iONCalendar(iONCredentials credentials)
 {
     _credentials = credentials;
     this.AuthorID = credentials.UserID;
 }
 public iONClockingService(iONCredentials credentials)
 {
     _credentials = credentials;
 }