Пример #1
0
 /// <summary>
 /// Default Constructor uses the default Entity Container
 /// </summary>
 public ElmahRepository()
 {
     Context = new FLoversErrorEntities();
 }
Пример #2
0
 /// <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;
 }
Пример #3
0
 /// <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;
 }
Пример #4
0
 /// <summary>
 /// Default Constructor uses the default Entity Container
 /// </summary>
 public NLogRepository()
 {
     Context = new FLoversErrorEntities();
 }
Пример #5
0
        /// <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();
 }