/// <summary> /// Default Constructor uses the default Entity Container /// </summary> public ElmahRepository() { Context = new FLoversErrorEntities(); }
/// <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(FLoversErrorEntities 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 NLogRepository(FLoversErrorEntities context) { Context = context; }
/// <summary> /// Default Constructor uses the default Entity Container /// </summary> public NLogRepository() { Context = new FLoversErrorEntities(); }
/// <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(FLoversErrorEntities 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(FLoversErrorEntities context) { Context = context; }
/// <summary> /// Default Constructor uses the default Entity Container /// </summary> public HealthMonitoringRepository() { Context = new FLoversErrorEntities(); }