光影魔术手可以切片吗

Almost exactly two years from the day we announced Entity Framework "Magic Unicorn Edition" and just a few months after open sourcing of ASP.NET MVC 4, ASP.NET Web API, and Razor we're happy to announce we will release the source code for the Entity Framework under an open source license as well!

从我们宣布实体框架“ Magic Unicorn Edition”之日起将近整整两年,以及将ASP.NET MVC 4,ASP.NET Web API和Razor开源的几个月后,我们很高兴地宣布我们将发布源代码开源许可下的实体框架代码!

This is cool for a number of reasons. The EF team is continuing to move forward with a commitment to transparency. The community will be able to not only watch the check-ins and monitor the progress of the project, but also get involved themselves, submit pull requests for bug fixes, use daily builds and give feedback much more efficiently.

出于多种原因,这很酷。 EF团队继续致力于透明性。 社区不仅可以监视签到并监视项目的进度,还可以参与进来,提交请求修复错误的请求,使用日常构建并更有效地提供反馈。

Just like the open source ASP.NET components and open source Azure SDKs, Entity Framework will continue to have the same full-time Microsoft engineers working on the project and will remain a fully supported Microsoft product that will ship both standalone AND with Visual Studio.

就像开源ASP.NET组件和开源Azure SDK一样,实体框架将继续拥有相同的专职Microsoft工程师来从事该项目,并且仍将是完全受支持的Microsoft产品,该产品将与独立产品一起提供,并与Visual Studio一起提供。

The code being open sourced includes the Entity Framework Runtime and NuGet packages, Code First, the DbContext API, the Entity Framework Power Tools as well as pieces that shipped originally with the .NET Framework. The team is also working to open source the EF Designer surface in the future as well.

开源代码包括Entity Framework Runtime和NuGet包,Code First,DbContext API,Entity Framework Power Tools以及.NET Framework最初随附的部分。 该团队还致力于在将来将EF Designer界面开源。

By open sourcing EF we open up the design and development process that started the EF 4.1 preview builds. People who are interested can get nightly builds, see the source code changes, and engage in discussion about the design and implementation. The EF team is committed to opening up the development and involving the community and are going to work hard to make that happen.

通过开放源代码EF,我们打开了开始EF 4.1预览版的设计和开发过程。 有兴趣的人可以每晚进行构建,查看源代码更改,并参与有关设计和实现的讨论。 EF团队致力于开放开发并让社区参与其中,并将努力实现这一目标。

Entity Framework will live in a Git repository at http://entityframework.codeplex.com and you're welcome to follow, fork, discuss and file bugs against it as you see fit. You could fork it just to fix a bug quickly to unblock work that uses EF, or you could create a custom version of EF with different capabilities. Since the changes can also be contributed back this gives people a lot greater flexibility in how they develop with EF.

Entity Framework将存在于http://entityframework.codeplex.com上的Git存储库中,欢迎您按照自己的意愿进行跟踪,分叉,讨论和提交针对它的错误。 您可以分叉它只是为了快速修复一个错误,以取消阻止使用EF的工作,也可以创建具有不同功能的EF的自定义版本。 由于更改也可以回馈,这使人们在使用EF进行开发时具有更大的灵活性。

Again, we've previously open sourced the Azure SDKs, the ASP.NET Web Stack, and now Entity Framework. These products all have the same teams assigned (and in most cases have more resources than before), the same developers coding and the same support guarantees. They are open source projects but they are also supported and released Microsoft products suitable for use in any company. They'll continue to ship with Visual Studio as well as standalone as packages in NuGet. The investment in all these technologies has been significant in the past year and investments will continue going forward with new versions and even more cool features.

再一次,我们以前开放了Azure SDK,ASP.NET Web Stack和现在的Entity Framework的源代码。 这些产品都分配了相同的团队(在大多数情况下,资源比以前更多),相同的开发人员编码和相同的支持保证。 它们是开源项目,但也受支持和发布适用于任何公司的Microsoft产品。 它们将继续随Visual Studio以及NuGet中的独立软件包一起提供。 在过去的一年中,对所有这些技术的投资都是巨大的,并且投资将继续使用新版本和更酷的功能。

异步-我最喜欢的新实体框架功能 (Async - My Favorite New Entity Framework feature)

Just as an example, I wanted to show a new feature in the upcoming EF6 that the team is hard at work on for release next year. Visual Studio 2012 introduces the Aync and Await concepts that make asynchronous code much easier to write (and understand). Damian, Levi and I talked about async and the surrounding concepts in this week's Hanselminutes podcast.

举个例子,我想在即将到来的EF6中展示一项新功能,该团队正在努力下一年发布。 Visual Studio 2012引入了Aync和Await概念,使异步代码更易于编写(和理解)。 Damian,Levi和我在本周的Hanselminutes播客中讨论了异步及其周围的概念。

EF6 will introduce support for the new task-based asynchronous pattern when querying and saving data. You can actually look in the open source code base today and find the first parts of this feature are already checked in! ;)

EF6将在查询和保存数据时引入对新的基于任务的异步模式的支持。 您实际上可以立即查看开放源代码库,并发现此功能的第一部分已经签入! ;)

As an example, using EF5 you could define a helper method that will find the store closest to a given location. Any code that calls this method would need to wait while it executed.

例如,使用EF5,您可以定义一个助手方法,该方法将找到最接近给定位置的商店。 任何调用此方法的代码都需要在执行时等待。

public Store FindClosestStore(DbGeography location){    using (var context = new StoreContext())    {        return (from s in context.Stores           orderby s.Location.Distance(location)           select s).First();    }}

But in EF6 it is easy to turn this into an asynchronous method that can be left to execute while the calling code continues on with other tasks.

但是在EF6中,很容易将其转换为一个异步方法,在调用代码继续执行其他任务时,该方法可以继续执行。

public async Task<Store> FindClosestStore(DbGeography location){    using (var context = new StoreContext())    {        return await (from s in context.Stores            orderby s.Location.Distance(location)            select s).FirstAsync();    }}

This is just one feature but it's my favorite. You'll also soon see mapping of Stored Procedures as well as support for custom conventions using the Code First API.

这只是一项功能,但这是我的最爱。 您还将很快看到存储过程的映射以及使用Code First API的自定义约定的支持。

Be sure to follow the Entity Framework Repository and subscribe to the check-ins via RSS to stay up on the latest features and improvements to EF! Also, do go chat directly with the Entity Framework team on Jabbr (powered by SignalR and Azure) in their room: http://jabbr.net/#/rooms/EntityFramework

确保遵循Entity Framework Repository并通过RSS订阅签入,以掌握EF的最新功能和改进! 另外,请直接与Jabbr上的Entity Framework团队(由SignalR和Azure提供支持)在他们的房间聊天: http ://jabbr.net/#/rooms/EntityFramework

相关链接 (Related Links)

  • Entity Framework Team Blog

    实体框架团队博客

  • Entity Framework Roadmap

    实体框架路线图

  • MS Open Technologies Blog

    微软开放技术博客

  • Port 25 Blog

    端口25博客

翻译自: https://www.hanselman.com/blog/entity-framework-magic-unicorn-and-much-more-is-now-open-source-with-take-backs

光影魔术手可以切片吗

光影魔术手可以切片吗_实体框架魔术独角兽(还有更多!)现已开放,并且可以收回相关推荐

  1. java连接数据库不使用框架_实体框架数据库连接不重新连接

    我在Entity Framework中遇到了数据库连接问题 . 我在ASP.NET MVC 3 Web应用程序中使用EF 4.1.10331,但它也因EF 5而失败 . 当我的Web应用程序启动时,由 ...

  2. mysql ef6 您的项目引用了最新版_您的项目引用了最新实体框架;但是,找不到数据链接所需的与版本兼容的实体框架数据库 EF6使用Mysql的技巧...

    转载至: http://www.cnblogs.com/Imaigne/p/4153397.html 您的项目引用了最新实体框架:但是,找不到数据链接所需的与版本兼容的实体框架数据库 EF6使用Mys ...

  3. wpf mysql 框架_带有 WPF 和实体框架6的简单数据应用 - Visual Studio | Microsoft Docs

    使用 WPF 和 Entity Framework 6 创建简单的数据应用程序Create a simple data application with WPF and Entity Framewor ...

  4. 带有审计表的实体框架核心(EF Core)

    目录 介绍 背景 使用代码 主(Main)方法 运行程序 IAudited Model1.cs Model1.Partial.cs 部分类CUsers TVUT类 局部类Model1 OnModelC ...

  5. 具有审计表的实体框架

    目录 介绍 背景 使用代码 Main方法 运行程序 IAudited Model1.edmx 总结 下载TestEntityFramework.zip - 20 KB 介绍 本文提供了将Entity ...

  6. C#代码生成工具:文本模板初体验 使用T4批量修改实体框架(Entity Framework)的类名...

    转自:http://www.cnblogs.com/huangcong/archive/2011/07/20/1931107.html 在之前的文本模板(T4)初体验中我们已经知道了T4的用处,下面就 ...

  7. [渣译文] 使用 MVC 5 的 EF6 Code First 入门 系列:MVC程序中实体框架的连接恢复和命令拦截...

    这是微软官方教程Getting Started with Entity Framework 6 Code First using MVC 5 系列的翻译,这里是第四篇:MVC程序中实体框架的连接恢复和 ...

  8. 实体框架高级应用之动态过滤 EntityFramework DynamicFilters

    实体框架高级应用之动态过滤 EntityFramework DynamicFilters 实体框架高级应用之动态过滤 EntityFramework DynamicFilters 我们开门见山,直奔主 ...

  9. Rafy 领域实体框架设计 - 重构 ORM 中的 Sql 生成

    前言 Rafy 领域实体框架作为一个使用领域驱动设计作为指导思想的开发框架,必然要处理领域实体到数据库表之间的映射,即包含了 ORM 的功能.由于在 09 年最初设计时,ORM 部分的设计并不是最重要 ...

最新文章

  1. ASP.NET2.0图片格式转换【月儿原创】
  2. javascript基础整理
  3. 习惯性朴实简单!一起学习MySQL常见单行函数,字符数学日期流程控制
  4. selenium之 chromedriver与chrome版本映射表(更新至v2.43)
  5. Internet 打印提示“打印机安装失败、打印机名称无效”的解决
  6. SQLServer性能优化之活用临时表
  7. 网易公开课专辑下载脚本python
  8. 时域、频域、傅里叶变换
  9. 常见坐标系经纬度转换
  10. centos7安装N卡驱动和conda pytorch1.7.1深度学习环境
  11. 为什么Jmeter 运行时时到达持续时间不停止?
  12. 低碳世界杂志低碳世界杂志社低碳世界编辑部2022年第7期目录
  13. ios开发之音频视频开发
  14. 口碑好工作站服务器维修,童颜玩物 惠普Z800顶级工作站深度拆解
  15. 第一章:Django入门篇
  16. openofdm中complex_to_mag的分析
  17. 软考中级程序设计师复习——数据库基础(2)
  18. 《蛋仔派对》之玩转‘创意工坊’
  19. HLW8112(8110)在电源转化效率系统的应用
  20. C语言中的基本数据类型

热门文章

  1. uboot-----borad.c .
  2. Mac 装win系统
  3. mysql中文显示乱码以及插入语句含有中文时报错(ERROR 1366 (HY000): Incorrect string value: '\xCE\xF7\xB9\xCF' for co)的解决方案
  4. 如何保证socket长连接
  5. 桌面图标美化,图包分享
  6. CSDN新星计划新玩法、年度勋章挑战赛开启
  7. 瑞信研报:甲骨文跑赢大盘 目标价格38美元
  8. HTML 初学制作网页遇到问题的解决方法
  9. jQuery基础-01
  10. 中小型企业网络规划设计方案_计算机三级网络技术(2):中小型网络系统总体规划与设计...