Hi, i want to create a CRUD operations for one class(Ex:Product)in MVC4. but this product class having foreign keys. and also here we want to use for creating controller, "MVC Controller with Empty read/write actions".
Note:here do not use the entity framework.
If any one knows please help me.......
CRUD operations in mvc
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Jignesh TrivediRank #16 · 50.3K reputationPosted Mar 25, 2014, 9:51 PM EDT
hi,
I think you are going to use Scaffolding feature ASP.NET MVC.
I do not think so there is an problem if you entity class has an foreign keys....
http://www.dotnet-tricks.com/Tutorial/mvc/FH4c200314-Understanding-ASP.NET-MVC-Scaffolding.html
Please provide more information about your problem.