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