-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It should be disclosed that PrimaryKey(nameof() is a EF Core #7 only attribute #4133
Comments
StijnOttenVMT
changed the title
PrimaryKey(nameof() should be removed or a comment added
It should be disclosed that PrimaryKey(nameof() is a EF Core #7 only attribute
Nov 14, 2022
Sorry was unaware this was part of the revision 7.0 update. But tbh things like ASP net core have revisions in their doc maybe EF Core should too |
@StijnOttenVMT we've discussed this in the past, and decided that it's better to have a single version of the docs, and to call out in specific places where a new API was introduced, etc. I've submitted #4136 to do that here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In this page it says
And then show this code
But the
PrimaryKey
attribute is not part of EF Core.Either this code block should be removed and only show the Fluent API code or there should be a note/comment added that
PrimaryKey
attribute is not part of EF Core and then a link to the correct package. (Tbh best solution i feel like is adding it to EF Core, but code first and only then documentation)Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: