1804 热度

Should We Use Records With EF Core as Model Classes?

In this article, we will explore the pros and cons of using records with EF Core as model classes. We’ll dive into what C# records are, how they differ from classes, and how they can be used as model classes in EF Core.

收录时间: 2023-06-09
分类: EF Core
贡献者: Rector
1299 热度

EF Core + MySQL 基本增删改查

基于EF Core + MySQL的基本增删改查,示例是基于.NET6 + EF Core + MySQL 创建实体和数据库、EFCore 数据迁移项目基础上的内容增加。同时也是对基于Canal实现MySQL 8.0 数据库数据同步项目的验证。创建控制器Controllers---->添加---->控制器,选择api---->包含读写操作的API控制器。依赖注入将上下文类注入到UsersController中,ASP.NET Core 支持依赖关系注入 (DI) 软件设计模式,这是一种在类及其依赖关系之间实现控制反转 (IoC) 的技术。有三种具体实现方式,我们这里用到的是构造函数注入...

收录时间: 2023-06-09
分类: EF Core
贡献者: Rector
1804 热度

How to Execute Stored Procedures With EF Core 7

In this article, we will see how to use stored procedures in Entity Framework Core 7. Although Entity Framework and LINQ provide a simple way to work with the data, stored procedures still have their place when considering data access and manipulation.

收录时间: 2022-11-25
分类: EF Core
贡献者: Rector
876 热度

Announcing Entity Framework 7 Release Candidate 1

ntity Framework Core 7 (EF7) Release Candidate 1 has shipped! The team focused on addressing defects, minor enhancements, and putting the finishing touches on features. See the full list of EF7 RC1 changes on GitHub. For a detailed look at what’s new in EF7, with working samples, check out our newly updated What’s New in EF7 documentation.

收录时间: 2022-09-15
分类: EF Core
贡献者: Rector
1363 热度

Filtering Results Using Filtered Include Method in EF Core

In this article, we are going to learn about Filtered Include in Entity Framework Core, what operations it supports, and what are its use cases.

收录时间: 2022-09-09
分类: EF Core
贡献者: Rector
1347 热度

How to Solve the Command or File Was Not Found EF Core Error

In this article, we are going to learn how to solve the Command or File Was Not Found EF Core migration error.

收录时间: 2022-04-19
分类: EF Core
贡献者: Rector
AD 友情赞助
1452 热度

Announcing the Plan for EF7

Today we are excited to share with you the plan for Entity Framework Core 7. This plan brings together input from many stakeholders and outlines where and how we intend to invest in Entity Framework Core 7 (EF Core 7). For brevity, EF Core 7.0 is also referred to as just EF7. The plan is being tracked through GitHub dotnet/efcore repo issue #26994 and any updates will be posted there.

收录时间: 2021-12-16
分类: EF Core
贡献者: Rector
1124 热度

Get to Know EF Core 6

The Entity Framework Core team has released the generally available version of EF Core 6.0 in parallel with .NET 6. EF Core 6 is available as a set of NuGet Packages. At the end of this blog post you will find a packages section that lists all of the available packages and describes what they are used for.

收录时间: 2021-11-30
分类: EF Core
贡献者: Rector
1151 热度

What's New in EF Core 6.0

EF Core 6.0 has shipped to NuGet. This page contains an overview of interesting changes introduced in this release.

收录时间: 2021-11-17
分类: EF Core
贡献者: Rector
1736 热度

Announcing new support for SQL Server temporal tables in EF Core 6

EF Core 6.0 Release Candidate 1 was released to NuGet a few weeks ago. This release is the first of two “go live” release candidates that are supported in production. EF Core 6.0 RC1 runs on Release Candidate 1 for .NET 6.0, which also has a “go live” license.

收录时间: 2021-10-12
分类: EF Core
贡献者: Rector