VS 2010中的EF4。我能做什么或不能做什么?请告诉我。谢谢。 [英] EF4 in VS 2010. What can I or cannot do? Please, let me know. Thank You.

查看:72
本文介绍了VS 2010中的EF4。我能做什么或不能做什么?请告诉我。谢谢。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我跟着开发了EF4和预期的新功能。

I followed the development of EF4 and the expected new features.

最有趣的功能是 能力  ;在不使用EDMX文件的情况下创建整个代码。

The most interesting feature was the ability to create the entire code without using the EDMX files.

现在使用VS 2010和EF 4时我不确定这是否可行......

Now when using VS 2010 and EF 4 I am not sure if this is possible or not ...

我在网上找到了一些文档,但每个文档都有不同的方法(CTP1,...,CTP4)。

I find some documentation online but each one with different approaches (CTP1, ..., CTP4).

我认为这可以在VS 2010下的EF4中作为每个人......我想。

I expeced this to be possible in EF4 under VS 2010 as everyone ... I think.

但是,现在我不确定这是否可能......

However, now I am not sure if this is possible ...

几个问题:

1 - 我可以在不使用EDMX文件的情况下使用一对多和多对多的映射,在VS 2010中使用
EF4 吗?

1 - Can I have a mapping with One To Many and Many To Many to work without using EDMX file with EF4 in VS 2010?

    如果有,怎么样?有人可以告诉我在哪里可以找到一些关于它的代码示例吗?

     If yes, how? Can someone please show me where can I find some code example about it?

2 - 如果没有,那么什么时候可用?

2 - If not then when it will be available?

      CTP4是否拥有Go Live许可证?如果不是,那么会有一个?

     Does CTP4 has a Go Live Licence? If not when there will be one?

    什么时候RTM版本可以使用以及如何提供?

     And when it will be the RTM version available and how it will be delivered?

注意:我现在不想用C#代码创建数据库!

        我正在寻找的是创建我的模型和上下文而无需使用自动生成的EDMX文件。

请有人请给我一些反馈吗?

Please, could someone please provide me some feedback on this?

很抱歉,但这有点乱......

Sorry to say, but this is a little bit of a mess ...

谢谢,

Miguel

推荐答案

我不是一个努力,但我可以说你可以做你正在寻找的所有内容,但关于你想要的持续变化和功能要记住(ctp1,...)都是社区技术预览所以那些比beta
版更年轻。

这是连续变化的问题。 Ctp是一项正在进行中的工作。 

我会建议您使用ado.net团队博客和实体框架设计博客。 

blogs.msdn.com/b / adonet

blogs.msdn.com/b/efdesign
I am not an exert but i can say that you can do all what you are searching for but about continuous change and feature that you would like to have...keep in mind that (ctp1,...) are all comunity tecnology preview so those are something younger then a beta release.
This is the matter of contiuos change. Ctp is a work in progress. 
I would suggest you ado.net team blog and entity framework design blog. 
blogs.msdn.com/b/adonet
blogs.msdn.com/b/efdesign


这篇关于VS 2010中的EF4。我能做什么或不能做什么?请告诉我。谢谢。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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