Insert always returns int. What about int64 id columns?
还没有人认领这个 Issue。
评估
调研方向
定位 InsertAsync,并将其返回类型和行为与 Insert 进行比较;该 issue 指出 Insert 返回 long。检查周围的插入实现和相关的现有测试,然后验证使用 int64 identity 列的插入能够返回预期值,同时不使现有用例发生回归。
由索引模型根据 Issue 内容生成。
描述
This seems like a relatively small thing to fix. InsertAsync at the moment will always return int32, while Insert returns long. This will not work with tables, where the id happens to be int64.
- 主要语言
- C#
- 星标
- 293
- 派生
- 108
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DapperLib/Dapper.Contrib 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 75/100
DapperLib/Dapper.Contrib#22 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 42/100
DapperLib/Dapper.Contrib#174 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
DapperLib/Dapper.Contrib#173 ·
-
难度 1/5 1 小时以内 新手友好度 10/100
DapperLib/Dapper.Contrib#172 · 1 条评论 · 4 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 48/100
DapperLib/Dapper.Contrib#169 ·
查看 DapperLib/Dapper.Contrib 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
NethermindEth/nethermind#14012 ·
维护者通常 1 天内回复
-
dependencies Status: Triage
难度 2/5 1-3 小时 新手友好度 68/100
json-schema-org/website#2518 ·
维护者通常 1 天内回复
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
builtbybel/Flyoobe#498 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
builtbybel/CrapFixer#112 ·