mardi 23 février 2016

Creating dynamic classes to be used in DbContext along with a Generic Repository that uses the DbContext

The problem have is - I can create the generic class however, when I try to DbSet the newly created class via the DbContext class, I always run into the problem that it cannot get the "Id" field. How can I control the MVC view to look at the dynamic class, but not the precompiled one.





Aucun commentaire:

Enregistrer un commentaire