EF Core Data Persistence Layer - Hexagonal Architecture Adapter

Community

Build robust data layers with EF Core.

Authorzlzforever
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide and patterns for implementing a data persistence layer using Entity Framework Core within a hexagonal architecture, ensuring clean separation and testability.

Core Features & Use Cases

  • Data Context Configuration: Set up EF Core contexts for production and testing, including migration support.
  • Entity Mapping: Implement patterns for mapping domain objects to database tables using Fluent API.
  • Repository Implementations: Create CQRS-patterned write and query repositories.
  • Unit of Work: Manage transactions across multiple repositories.
  • Dependency Injection: Automate repository registration and validation.
  • Schema Organization: Design multi-schema databases for bounded contexts.
  • Migration Workflow: Best practices for schema changes.
  • Performance Optimization: Techniques for efficient data access.
  • Use Case: Integrate this Skill into a .NET application to manage all database interactions, from saving user data to querying complex reports, following Domain-Driven Design principles.

Quick Start

Register the data services in your application by calling the RegisterDataServices extension method.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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 Data Persistence Layer - Hexagonal Architecture Adapter
Download link: https://github.com/zlzforever/WildGoose/archive/main.zip#ef-core-data-persistence-layer-hexagonal-architecture-adapter

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.