Scaffold repository class from Entity framework
I have a Model that is automatically created from a database using entity framework.
This is a project that is just used 开发者_运维技巧for data access.
Is it possible to use the scaffolding feature to generate repositories classes for the classes that comes in the model?
I hope that i make myself understood here.
Yes, if you have downloaded the newest Mvc3 Tools Update you can follow this example. It will end up creating your controller, views, and repositories.
精彩评论