摘要:
Entity Framework Core performance tuning – a worked example Last Updated: February 25, 2019 | Created: September 22, 2017 This is the first in a serie 阅读全文
随笔分类 - EntityFramework
Entity Framework Core Query Types
2019-11-01 10:26 by Dorisoy, 286 阅读, 收藏,
摘要:
This feature was added in EF Core 2.1 Query types are non-entity types (classes) that form part of the conceptual model and can be mapped to tables an 阅读全文
Using the Repository and Unit Of Work Pattern in .net core
2019-10-27 16:25 by Dorisoy, 825 阅读, 收藏,
摘要:
A typical software application will invariably need to access some kind of data store in order to carry typical CRUD (Create, Read Update, Delete) ope 阅读全文
EF There is already an open DataReader associated with this Command
2017-09-05 16:00 by Dorisoy, 1532 阅读, 收藏,
摘要:
捕捉到 System.InvalidOperationException _HResult=-2146233079 _message=意外的连接状态。在使用包装提供程序时,请确保在已包装的 DbConnection 上实现 StateChange 事件。 HResult=-2146233079 解决 阅读全文
Code-Based Configuration (EF6 onwards)
2016-06-01 09:55 by Dorisoy, 247 阅读, 收藏,
摘要:
https://msdn.microsoft.com/en-us/data/jj680699#Using 阅读全文
SQLite Code配置DbConfiguration
2016-06-01 09:54 by Dorisoy, 1288 阅读, 收藏,
摘要:
[DbConfigurationType(typeof(SQLiteConfiguration))] public partial class rsapiEntities : DbContext { public rsapiEntities() : base("name=rsapiEntities") { ... 阅读全文
实体框架 5 性能注意事项
2015-06-24 13:17 by Dorisoy, 393 阅读, 收藏,
摘要:
1.简介对象关系映射框架是一种在面向对象的应用程序中提供数据访问抽象的便捷方式。对于 .NET 应用程序,Microsoft 推荐的 O/RM 是实体框架。但任何抽象都要考虑性能。本白皮书旨在介绍在使用实体框架开发应用程序时的性能注意事项,使开发人员了解能够影响性能的实体框架内部算法,以及提供有关进... 阅读全文
浙公网安备 33010602011771号