Oracle 数据访问代码迁移
原名:migrating-oracle-to-postgres-data-access-code
把 .NET Oracle 数据访问代码逐步迁移为 Npgsql 与 PostgreSQL 实现。
中文 Skills 技能说明
适合仓储层、命令和读取器迁移。先用测试固定事务、空值和异常语义,再分模块修改;不要用全局替换代替兼容分析,生产切换前保留回退。
上游能力依据
上游原始适用说明:Migrates .NET/C# data access code from Oracle to PostgreSQL (Npgsql). Replaces Oracle NuGet packages, rewrites OracleConnection/OracleCommand/OracleDataReader usage, fixes DbType mappings, updates stored procedure invocation patterns, and adapts connection string configuration. Use when migrating the application code layer of a .NET project during an Oracle-to-PostgreSQL database migration.
上游 SKILL.md 主要章节(保留原文标题):
- Prerequisites
- Workflow
- EF Core projects
- Key Constraints
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- GitHub, Inc. 与 awesome-copilot contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/github/awesome-copilot/tree/bbaa5872640e6cbae953beb22a71ae337398ca12/skills/migrating-oracle-to-postgres-data-access-code
适用范围
平台:linux、macos、windows;标签:软件开发、Oracle 数据访问代码迁移
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。