protected internal Attachments(IStorageEntitySetScope <IStoreSession> parentScope, IEntityReference <IItem> parentItem, AttachmentDataProvider attachmentDataProvider, IEntityCommandFactory <Attachments, IAttachment> commandFactory = null) : base(parentScope, "Attachments", commandFactory ?? EntityCommandFactory <Attachments, IAttachment, CreateAttachment, DeleteAttachment, FindAttachments, ReadAttachment, UpdateAttachment> .Instance) { this.ParentItem = parentItem; this.AttachmentDataProvider = attachmentDataProvider; }
protected StorageEntitySet(IStorageEntitySetScope <TSession> parentScope, string relativeName, IEntityCommandFactory <TEntitySet, TEntity> commandFactory) : base(parentScope, relativeName, commandFactory) { }
public BirthdayCalendars(IBirthdaysContainer parentScope, IEntityCommandFactory <IBirthdayCalendars, IBirthdayCalendar> commandFactory = null) : base(parentScope, "BirthdayCalendars", commandFactory) { this.ParentScope = parentScope; }
protected Calendars(IStorageEntitySetScope <IMailboxSession> parentScope, CalendarGroupReference calendarGroupForNewCalendars, IEntityCommandFactory <Calendars, Calendar> commandFactory = null) : base(parentScope, "Calendars", commandFactory ?? EntityCommandFactory <Calendars, Calendar, CreateCalendar, DeleteCalendar, FindCalendars, ReadCalendar, UpdateCalendar> .Instance) { this.CalendarGroupForNewCalendars = calendarGroupForNewCalendars; }
protected internal CalendarGroups(IStorageEntitySetScope <IMailboxSession> parentScope, IEntityCommandFactory <CalendarGroups, CalendarGroup> commandFactory = null) : base(parentScope, "CalendarGroups", commandFactory ?? EntityCommandFactory <CalendarGroups, CalendarGroup, CreateCalendarGroup, DeleteCalendarGroup, FindCalendarGroups, ReadCalendarGroup, UpdateCalendarGroup> .Instance) { }