Esempio n. 1
0
 /// <summary>
 /// Default Constructor uses the default Entity Container
 /// </summary>
 public Log4NetRepository()
 {
     _context = new ErrorLogsEntities();
 }
Esempio n. 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 Log4NetRepository(ErrorLogsEntities context)
 {
     _context = context;
 }
Esempio n. 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 Log4NetRepository(ErrorLogsEntities context)
 {
     _context = context;
 }
Esempio n. 4
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(ErrorLogsEntities context)
        {
            _context = context;

            Init();
        }
Esempio n. 5
0
 /// <summary>
 /// Default Constructor uses the default Entity Container
 /// </summary>
 public Log4NetRepository()
 {
     _context = new ErrorLogsEntities();
 }
Esempio n. 6
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(ErrorLogsEntities context)
 {
     _context = context;
 }
Esempio n. 7
0
 /// <summary>
 /// Default Constructor uses the default Entity Container
 /// </summary>
 public ElmahRepository()
 {
     _context = new ErrorLogsEntities();
 }
Esempio n. 8
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(ErrorLogsEntities context)
 {
     _context = context;
 }
Esempio n. 9
0
 /// <summary>
 /// Default Constructor uses the default Entity Container
 /// </summary>
 public ElmahRepository()
 {
     _context = new ErrorLogsEntities();
 }