ef-core

Automate EF Core data access patterns for .NET 10 applications.

2|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/bingeli1379/eli-claude-marketplace --skill ef-core-bingeli1379
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ef-core
Source: https://github.com/bingeli1379/eli-claude-marketplace/tree/main/plugins/eureka-sdd/skills/ef-core
Command: npx skills add https://github.com/bingeli1379/eli-claude-marketplace --skill ef-core-bingeli1379

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

EF Core patterns for .NET 10 address the need to configure DbContext, manage migrations, apply cross-cutting concerns, and optimize data access performance in modern .NET applications.

Core Features & Use Cases

  • DbContext configuration via IEntityTypeConfiguration to keep entity mappings organized.
  • Projection-based queries to load only needed data and avoid N+1 queries.
  • Migrations workflow and code-first tooling to evolve the database safely.
  • Interceptors for auditing, soft deletes, and cross-cutting concerns.
  • Compiled queries and value converters to improve performance and type safety.
  • Global query filters for soft-delete and multi-tenancy.

Quick Start

Configure your DbContext with EF Core and apply an initial migration to create the schema.

Frequently Asked Questions about ef-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure EF Core DbContext using IEntityTypeConfiguration in .NET 10?

EF Core DbContext configuration using IEntityTypeConfiguration keeps entity mappings organized into separate classes. This pattern maintains clean code structure and scalable data access setup across enterprise .NET 10 applications.

What's the best way to avoid N+1 queries with EF Core projections?

EF Core projection-based queries load only needed data by selecting specific columns upfront, avoiding N+1 query execution. This technique optimizes data access performance by reducing transferred data and eliminating related entity loading bottlenecks.

How do I implement soft deletes and auditing with EF Core interceptors?

EF Core interceptors handle soft deletes and auditing by capturing SaveChanges events to apply global query filters and track modifications automatically. This cross-cutting approach enforces data consistency without modifying core business logic.

Can I perform bulk updates and deletes with EF Core without loading entities?

EF Core supports bulk operations using ExecuteUpdateAsync and ExecuteDeleteAsync to modify or remove database records directly. These methods execute immediate SQL statements, bypassing entity tracking and ChangeTracker overhead for high-performance batch processing.

How do compiled queries and value converters improve EF Core performance?

EF Core compiled queries cache translation overhead by pre-compiling LINQ expressions, while value converters handle custom type mapping between CLR properties and database columns. Both features enhance query execution speed and type safety in high-throughput applications.

Does EF Core support global query filters for multi-tenancy in .NET 10?

EF Core global query filters enable multi-tenancy and soft-delete patterns by automatically applying LINQ predicates to entity queries. Configured in OnModelCreating, these filters enforce tenant isolation and data visibility rules consistently across the application.