Skip to content

Fix wording#4926

Merged
roji merged 1 commit intodotnet:mainfrom
ErikEJ:patch-13
Jan 8, 2025
Merged

Fix wording#4926
roji merged 1 commit intodotnet:mainfrom
ErikEJ:patch-13

Conversation

@ErikEJ
Copy link
Contributor

@ErikEJ ErikEJ commented Jan 8, 2025

Copy link
Member

@roji roji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ErikEJ, LGTM.

... although :) Doesn't SqlClient map string to nvarchar(max) and DateTime to datetime2(7) etc.?

The EF provider could still decide to do something else and set Size/Precision/Scale on the parameters it sends - so I think your fix is still right. But it makes @BrentOzar's argument a bit weaker.

@roji roji merged commit 6d7b463 into dotnet:main Jan 8, 2025
3 checks passed
@ErikEJ
Copy link
Contributor Author

ErikEJ commented Jan 8, 2025

@roji SqlClient maybe, but not "SQL Server" - dont think it does any "mapping"

@roji
Copy link
Member

roji commented Jan 8, 2025

Yep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants