ef-core-basics

Community

Harden EF Core DbContext and mappings

AuthorFaysilAlshareef
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Helps developers configure Entity Framework Core DbContext, entity mappings, and connection resiliency so data access remains consistent, maintainable, and resilient across environments.

Core Features & Use Cases

  • Apply IEntityTypeConfiguration implementations from assembly to keep DbContext clean and maintainable.
  • Convert strongly-typed IDs and value objects with value converters and owned types to preserve domain integrity.
  • Enable retry-on-failure and command timeout settings for connection resiliency and production stability.
  • Register SaveChanges interceptors for auditing and domain event dispatch, and provide a design-time factory for running migrations.
  • Use cases include adding EF Core to an existing project, standardizing entity configuration, and preparing reliable migrations for CI/CD pipelines.

Quick Start

Configure your project's DbContext to apply configurations from the assembly, add value converters for strongly-typed IDs, enable retry-on-failure, and register interceptors for auditing and domain events.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ef-core-basics
Download link: https://github.com/FaysilAlshareef/dotnet-ai-kit/archive/main.zip#ef-core-basics

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.