-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
BlazorPri2Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcblazor/subsvcdoc-enhancement
Description
Description
Moved from dotnet/blazor-samples#378 ...
This should be using the OnParametersSet, such that when the DbModel changes the property is checked again. Also none of the properties of the Contact have ConcurrencyCheck attributes, so the newest EF core will not automatically fail. I suggest adding the ConcurrencyCheck attribute to at least one property or every property because the UI implies the whole object is checked for concurrency.
cc: @crazyfox55
Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/blazor-ef-core?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/blazor-ef-core.md
Document ID
2ebc5e4d-bab4-6d30-9018-9a712c482236
Article author
Metadata
Metadata
Assignees
Labels
BlazorPri2Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcblazor/subsvcdoc-enhancement
Type
Projects
Status
Done