Introduction to Entity Framework Core 6

所在平台: Udemy

课程主页: https://www.udemy.com/course/introduction-to-entity-framework-core/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** Entity Framework Core 6 入门 **课程概述:** 本课程将教授您如何使用 C# 代码通过 Entity Framework Core 6 与数据库进行交互。您将学习: * **Code-First 数据库创建:** 如何从 C# 代码生成数据库。 * **与 Dapper 比较:** 了解 Entity Framework Core 与 Dapper 之间的区别。 * **CRUD 操作:** 如何使用 Entity Framework Core 读取、更新、删除和创建数据。 * **关系处理:** 掌握一对多、一对一和多对多关系的处理。 * **Fluent API 配置:** 使用 Fluent API 配置数据库 schema。 * **单元测试:** 如何在 Entity Framework Core 项目中使用单元测试。 * **EF Core 6 新特性:** 了解 Entity Framework Core 6 的新功能。 * **LINQ 函数运用:** 使用 Sum, Average, GroupBy 等函数进行数据聚合和分析。 * **执行存储过程:** 如何通过 Entity Framework Core 执行存储过程。 * **关联数据加载:** 学习多种关联数据加载方式,如 eager loading, explicit loading, select loading 和 lazy loading。 * **延迟执行:** 利用延迟执行(deferred execution)技术提高代码的灵活性和可重用性。 * **ASP.NET Core 配置:** 正确配置 Entity Framework Core,包括 DbContext 池的使用时机。

课程评论(0条)

课程详情

In this course you will learn how to use Entity Framework Core 6 to talk to a database from C# code.- We will learn to create databases from our C# code using the code-first technique.- We will make a brief comparison with Dapper, to see what is the difference between each of these tools.- We will see how to read, update, delete, and create data using Entity Framework Core.- We will learn to work with relationships between our tables: One-to-many relationships, one-to-one relationships, and many-to-many relationships.- We will use the Fluent API to configure the schema of our database.- We will see how to use automatic tests in our Entity Framework Core projects.- We will learn about the new features that Entity Framework Core 6 brings us.- We will use functions such as Sum, Average and GroupBy, to perform operations on different records of a table.- We will see how to execute stored procedures using Entity Framework Core.- We will load the related data of our entities in different ways, using eager loading, explicit loading, select loading and lazy loading.- We will learn that with deferred execution we can use interesting techniques to make our code more flexible and reusable.- We will see techniques on how to correctly configure Entity Framework Core in ASP.NET Core, for example, we will see when we should use a pool to recycle the DbContext.

课程标签

0人关注该课程

主题相关的课程