docs(dotnet): dotnet connector supports decimal data type for stmt#35154
docs(dotnet): dotnet connector supports decimal data type for stmt#35154guanshengliang merged 3 commits intomainfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the C# connector documentation in both English and Chinese to clarify that the DECIMAL type is not supported as a tag column and to explain its behavior during stmt parameter binding. The review feedback suggests improving punctuation for better readability and adding a warning about potential precision loss when using the C# decimal type for values exceeding 29 digits, recommending the use of strings in such cases.
There was a problem hiding this comment.
Pull request overview
Updates the C# connector documentation to clarify DECIMAL type limitations and describe new stmt parameter binding support for DECIMAL.
Changes:
- Document that DECIMAL is not supported as a tag column (ZH/EN).
- Add DECIMAL stmt parameter binding guidance (supports
stringand C#decimal, with automatic conversion). - Fix/normalize the DECIMAL note formatting in the “Data Type Mapping” section.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| docs/zh/14-reference/05-connector/40-csharp.mdx | Updates DECIMAL notes and adds stmt binding guidance for DECIMAL in Chinese docs. |
| docs/en/14-reference/05-connector/40-csharp.md | Updates DECIMAL notes and adds stmt binding guidance for DECIMAL in English docs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description
dotnet connector supports decimal data type for stmt
Issue(s)
Checklist
Please check the items in the checklist if applicable.