点网核与企业库或实体框架 [英] Dot net core with enterprise library or entity framework

查看:64
本文介绍了点网核与企业库或实体框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们想在Dot Net Core中开始一个新项目。我们有一个在企业库(数据访问应用程序块,日志应用程序块,异常处理应用程序块)方面经验丰富的团队,但他们是Dot Net Core的新手。我们只是想知道我们应该使用什么来进行数据访问,即企业库或实体框架。



我尝试过:



团队非常熟悉存储过程,并且在过去的4到5年中一直致力于企业库。但对实体框架不太熟悉。



谢谢

We want to start a new project in Dot Net Core. We have a team which is good experienced in Enterprise Library(Data Access Application Block, Logging Application Block, Exception Handling Application Block) but they are new to Dot Net Core. We just want your suggestions on what should we use for Data Access i.e. Enterprise Library or Entity Framework.

What I have tried:

Team is very much familiar with Stored Procedures and working on Enterprise Library from last 4-5 years. But not much familiar with entity framework.

Thanks

推荐答案

你已经用你的标签问题了回答。您在ASP.NET Core中的最佳出价是使用Entity Framework Core。实体框架核心可以处理您最密集的数据访问要求,LINQ可以处理后端查询生成(也可以使用存储过程)。



查看这里的教程,EF Core只是一堆C#API,除了LINQ之外,没有什么比探索运行时更高级了。 概述 - EF Core | Microsoft Docs [ ^ ]。您的工程师将不会很难学习这些。



如果您的用户已经具有Enterprise Library的经验,那么他们已经知道.NET框架如何在企业环境中使用,.NET Core只是一种使用方式 - 库 - 这 - 是需要的。此外,我刚刚发现(使用快速Google)您仍然支持.NET Core中的Enterprise Library, asp.net web api - 有没有办法在.NET Core 1.1.2 web api中使用企业库 - Stack溢出 [ ^ ]
You have already tagged the question with your answer. The best bid you have in ASP.NET Core is to go with Entity Framework Core. Entity Framework Core can take care of your most intensive data access requirements, and LINQ can take care of backend query generation (can use stored procedures too).

Check the tutorials here, EF Core is merely a bunch of C# APIs, nothing advanced needed to explore the runtime apart from LINQ. Overview - EF Core | Microsoft Docs[^]. Your engineers will not have a tough time learning these.

If your users are already experienced in Enterprise Library then they already know how .NET framework can be used in enterprise environments, .NET Core is just a way to use-libraries-that-are-needed. Also, I just found (with a quick Google) that you still have some support of Enterprise Library in .NET Core, asp.net web api - Is there a way to use enterprise library in .NET Core 1.1.2 web api - Stack Overflow[^]


这篇关于点网核与企业库或实体框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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