public AlarmMonitorContext() { this.Events = new EventList(); this.Panels = new PanelList(); this.EventUnities = new EventUnitList(); this.eventRepository = new EventRepository(this.Events); this.eventUnitRepository = new EventUnitRepository(this.EventUnities); this.panelRepository = new PanelRepository(this.Panels); this.CreateEventUnities(); }
public EventUnitRepository(EventUnitList eventUnits) : base(eventUnits) { this.EventUnits = eventUnits; }