Exemplo n.º 1
0
 /// <summary>
 /// Public Constructor,initializes privately declared local variables.
 /// </summary>
 /// <param name="context"></param>
 public GenericRepository(CMS_Context context)
 {
     this.Context = context;
     this.DbSet   = context.Set <TEntity>();
 }