Example #1
0
 public Repository(SmartGridInfoContext context)
 {
     _context = context;
 }
 public ConnectionRepository(SmartGridInfoContext context) : base(context)
 {
 }
Example #3
0
 public UnitOfWork(SmartGridInfoContext context)
 {
     Context = context;
     SmartMeterRepository = new SmartMeterRepository(context);
     ConnectionRepository = new ConnectionRepository(context);
 }
Example #4
0
 public SmartMeterRepository(SmartGridInfoContext context) : base(context)
 {
 }