开发者

Scaffold repository class from Entity framework

开发者 https://www.devze.com 2023-03-28 23:22 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消