Beispiel #1
0
 public void Renew()
 {
     Context = new ErpStaffDbContext();
 }
Beispiel #2
0
 /// <summary>
 /// Constructor that takes a context
 /// </summary>
 /// <param name="context">An established data context</param>
 public GenericRepository(TContext context)
 {
     Context = new ErpStaffDbContext();
     //Context = context as ErpStaffDbContext;
 }