Skip to content

Fix wording#4926

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

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

Conversation

@ErikEJ

@ErikEJ ErikEJ commented Jan 8, 2025

Copy link
Copy Markdown
Contributor

@roji roji left a comment

Copy link
Copy Markdown
Member

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
@ErikEJ

ErikEJ commented Jan 8, 2025

Copy link
Copy Markdown
Contributor Author

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

@roji

roji commented Jan 8, 2025

Copy link
Copy Markdown
Member

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