dotnet-database

Community

Design robust data layers with EF Core 9.

Authorgabrielsan90
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Design and optimize the data layer for .NET applications using SQL Server and EF Core 9. This guide covers DataContext setup, Fluent API entity configuration, migrations, seed strategies, and best practices to avoid N+1 queries and unsafe deletions.

Core Features & Use Cases

  • Fluent API based entity configuration with proper indexing and relationships to ensure data integrity and performance.
  • Migration-first workflow (InitialCreate, incremental migrations) plus SeedDb integration for seeding roles and admin users.
  • Guidance to prevent N+1 queries, optimize common queries, and implement safe delete behavior across related entities.

Quick Start

Run the first EF Core migration to create your DataContext schema and seed initial data for a .NET 9 project.

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: dotnet-database
Download link: https://github.com/gabrielsan90/FacturacionV2/archive/main.zip#dotnet-database

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 223,000+ vetted skills library on demand.