Complex Types in EF Core: Cleaner Domain Models and Reusable Value Objects

Complex Types in EF Core help create cleaner domain models by grouping related values like Address or Money without separate tables.
Explore in-depth Entity Framework Core (EF Core) tutorials, best practices, and performance tips. Learn how to use EF Core for database access, relationships, query optimization, and the latest features in .NET.

Complex Types in EF Core help create cleaner domain models by grouping related values like Address or Money without separate tables.

Learn how to implement soft delete in EF Core, global query filters, interceptors, and indexing. This guide also covers best practices, performance tips, and when to choose soft delete over hard delete.

Learn how to use EF Core Interceptors to handle auditing, logging, and cross-cutting concerns in a clean and scalable way, with practical examples and best practices.

ExecuteUpdate and ExecuteDelete in EF Core allow performing bulk updates and deletes directly in the database without loading entities.

Article Sponsors EF Core too slow? Insert data up to 14x faster and cut save time by 94%. Boost performance with extension methods fully integrated into EF Core — Bulk Insert, Update, Delete, and Merge. Join 5,000+ developers who’ve trusted…

Explore every customizable BulkInsert option in Entity Framework Extensions, including behavior settings, custom keys, batch tuning, IncludeGraph, performance options, and provider-specific features.

Discover the most powerful EF Core bulk operation options—from IncludeGraph to batch tuning, temporary tables, audit logs, and events. A must-read for EF Core 10 developers.

EF Core 9 introduces flexible data seeding with UseSeeding() and UseAsyncSeeding(). Learn how to use these new APIs, compare them with HasData(), and follow best practices for initializing your database.

Handling large data sets in EF Core can quickly become a performance challenge, especially when using the standard Where + Contains approach. That’s where Entity Framework Extensions comes in.

Efficient pagination is key when working with large datasets in EF Core. In this guide, we explore two main strategies Offset Pagination and Keyset (Cursor-Based) Pagination, along with advanced techniques like indexing for performance.