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