工具实体框架EDMX转换为code首先 [英] Tool to convert Entity Framework EDMX to Code First

查看:229
本文介绍了工具实体框架EDMX转换为code首先的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种工具,一个EDMX转换为code-第一? 我知道有传言1出现在一个CTP而回,但我无法找到有关这个的所有更新。

Is there a tool to convert an edmx into code-first? I know there was talk of one appearing in a CTP a while back, but I can't find any updates relating to this.

有一个关于在<一个家伙href="http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/fa7d3156-4530-476d-87e0-8c65a052b2ef/">MSDN论坛的谁写自己的(尚未公布),但没有从EF团队。

There's a guy on the MSDN forums who has written his own (not available yet), but nothing from the EF team.

推荐答案

有没有这样的工具,因为EDMX提供了更多的功能,不能将C-先翻译成$ C $。唯一可用的工具是 EF电动工具CTP1 < /一>,允许从现有的数据库中创建code第一映射,但是这只会造成1:你的数据库的1图像=基于数据库的命名,没有继承,没有拆分等电动工具还允许创建只读EDMX从现有的code-第一映射。

There is no such tool because EDMX offers much more features which cannot be translated into code-first. The only tool available are EF Power Tools CTP1 which allow creating code-first mapping from existing database but it will only create 1:1 image of your database = naming based on database, no inheritance, no splitting, etc. Power tools also allow creating read only EDMX from existing code-first mapping.

这篇关于工具实体框架EDMX转换为code首先的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆