界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

dotnet-data

dotnet-data

【数据与研究】Skills for .NET data access and Entity Framework related tasks.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: dotnet-data description: "Skills for .NET data access and Entity Framework related tasks." license: MIT metadata: author: dotnet version: "1.0.0" source: https://github.com/dotnet/skills/tree/main/plugins/dotnet-data

dotnet-data

Overview

Use this skill for .NET data-access work, especially Entity Framework Core modeling, migrations, queries, transactions, and repository data-flow analysis using guidance from dotnet/skills.

Workflow

  1. Identify DbContext types, migrations, provider packages, connection configuration, and data-access boundaries.
  2. Preserve schema compatibility, migration history, query semantics, and transaction behavior.
  3. Use EF Core tooling and tests where available to verify model and migration changes.
  4. Explain data-shape, performance, and compatibility risks explicitly.

Guardrails

  • Do not generate destructive migrations without user approval.
  • Avoid changing persisted schema, indexes, or cascade behavior as an incidental side effect.
  • Keep provider-specific behavior visible when SQL Server, PostgreSQL, SQLite, Cosmos, or other providers differ.

Expected Output

Return focused data-access changes or guidance with schema impact, validation commands, and any migration notes.

我的收藏