public WorkCalendarItemUI(WorkCalendarUI frmWorkCalendar) { this.frmWorkCalendar = frmWorkCalendar; workCalendarItemRepository = EntityContainer.GetType <IWorkCalendarItemRepository>(); userAccessRepository = EntityContainer.GetType <IUserAccessRepository>(); InitializeComponent(); }
public WorkCalendarRepository(DataSource ds) { this.ds = ds; workCalendarItemRepository = EntityContainer.GetType <IWorkCalendarItemRepository>(); }