Asp.Net MVC 5框架中的实体框架的最佳数据库

问题描述:

您好ccanerbalcanci,

Hi ccanerbalcanci,

据我所知,实体框架是对象关系映射框架,这是一种在面向对象的应用程序中为数据访问提供抽象的便捷方式,它基于ado.net。我们知道ADO.NET基于数据提供者
模型,它提供了一个通用的托管接口,可以由数据提供者实现,以实现与各种数据存储的交互。所以我认为为了实现应用程序的最佳性能,请使用最适合数据源的
的.NET Framework数据提供程序。有关详细信息,请参阅:

As far as I know, entity framework is Object-Relational Mapping framework, which is a convenient way to provide an abstraction for data access in an object-oriented application, it based on ado.net. and we know that ADO.NET is based on a data provider model which provides a common managed interface that can implemented by data providers to enable interaction with various data stores. so I think that To achieve the best performance for your application, use the .NET Framework data provider that is most appropriate for your data source. For more information, please refer to:

https:// msdn .microsoft.com / zh-cn / library / ms971481.aspx

如果使用SQL Server,默认情况下,框架中会包含SQL Server的默认提供程序。你不需要安装额外的提供。

If you use SQL Server, A default provider for SQL Server is included in the framework by default. you don't need to install extra provide.

此外,关于实体框架的表现,请参阅以下文件。

In addition, about entity framework performance, please refer to the following document.

https://msdn.microsoft.com/en-us/library/hh949853(v=vs.113).aspx

致以诚挚的问候,

Cole Wu