Beispiel #1
0
 public void Dispose()
 {
     if (_context != null)
     {
         _context.Dispose();
         _context = null;
     }
 }
 public FactsController(FactsContext context)
 {
     _context = context;
 }
Beispiel #3
0
 public BaseRepository(FactsContext context)
 {
     _context = context;
 }
Beispiel #4
0
 public UnitOfWork()
 {
     _context = new FactsContext();
 }
Beispiel #5
0
 public FactsController(FactsContext context)
 {
     _context = context;
 }