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.......
Loading

Jignesh TrivediPosted Mar 26, 2014, 1:51 AM
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.