Skip to content

fix l/r in many-to-many.md for UsingEntity method calls #4609

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

DickBaker
Copy link
Contributor

typical signature overloads have params (joinEntityName, configureRight, configureLeft, configureJoinEntityType) in that order, but all the docs invert the left / right delegate ordering.

This can give rise to join table with conflicting field names and FK navs, so is dangerous for learning "skip navigation".

As Arthur wrote earlier "the code gets complicated quickly and its easy to make a mistake", yup!
The Issue #4269 ' Major overhaul of the "relationships" documentation' needs correcting, so I offer this PR.

HTH.

typical signature overloads have params (joinEntityName, configureRight, configureLeft, configureJoinEntityType) in that order, but all the docs invert the left / right delegate order.

This can give rise to join table with conflicting field names and FK navs, so is dangerous for learning "skip navigation".

As Arthur wrote earlier "the code gets complicated quickly and its easy to make a mistake", yup! The Issue dotnet#4269 
' Major overhaul of the "relationships" documentation' needs correcting, so I offer this PR. HTH.
@ajcvickers
Copy link
Contributor

Thanks!

@ajcvickers ajcvickers merged commit 445f0a9 into dotnet:main Jan 9, 2024
@DickBaker DickBaker deleted the patch-3 branch January 18, 2024 22:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants