开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜