/// <summary> /// Default Constructor uses the default Entity Container /// </summary> public NLogRepository() { _context = new Logging(); }
/// <summary> /// Overloaded constructor that can take an EntityContainer as a parameter so that it can be mocked out by our tests /// </summary> /// <param name="context">The Entity context</param> public NLogRepository(Logging context) { _context = context; }
/// <summary> /// Overloaded constructor that can take an EntityContainer as a parameter so that it can be mocked out by our tests /// </summary> /// <param name="context">The Entity context</param> public LogReportingFacade(Logging context) { _context = context; Init(); }
/// <summary> /// Overloaded constructor that can take an EntityContainer as a parameter so that it can be mocked out by our tests /// </summary> /// <param name="context">The Entity context</param> public HealthMonitoringRepository(Logging context) { _context = context; }
/// <summary> /// Default Constructor uses the default Entity Container /// </summary> public HealthMonitoringRepository() { _context = new Logging(); }
/// <summary> /// Overloaded constructor that can take an EntityContainer as a parameter so that it can be mocked out by our tests /// </summary> /// <param name="context">The Entity context</param> public ElmahRepository(Logging context) { _context = context; }
/// <summary> /// Default Constructor uses the default Entity Container /// </summary> public ElmahRepository() { _context = new Logging(); }