Skip to content

docs: fix UsingEntity lambda order in scaffolding sample#5370

Open
EduardF1 wants to merge 1 commit into
dotnet:mainfrom
EduardF1:fix/usingentity-left-right-order
Open

docs: fix UsingEntity lambda order in scaffolding sample#5370
EduardF1 wants to merge 1 commit into
dotnet:mainfrom
EduardF1:fix/usingentity-left-right-order

Conversation

@EduardF1
Copy link
Copy Markdown

Summary

Fixes #5014

Changes

  • swap the UsingEntity lambda order in the scaffolding docs snippet
  • align the foreign keys with the configureRight/configureLeft ordering used by the API and existing relationship samples

Testing

  • ran git diff --check
  • verified the corrected snippet matches the established many-to-many sample ordering in samples/core/Modeling/Relationships/ManyToMany.cs

Fixes dotnet#5014

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

ConfigureLeft and ConfigureRight parameters are documented backwards

1 participant