GeroIwan
GeroIwan
Would it be an option to have two differently named methods instead of two overloads? (Asked on https://github.com/aspnet/EntityFrameworkCore/issues/4117#issuecomment-404461872, too.)
Would it be an option to have two differently named methods instead of two overloads?
I just added a third workaround to the issue.
@AndriySvyryd I cannot see any changes within the first paragraph of the IMutableModel and IModel _documentation_. Are they really fixed?
Could this issue be related to issue #10042?
@ajcvickers Does this mean that (at least at the moment) we cannot use non-nullable reference types for navigation properties?
@ajcvickers Okay, of course. But we have to suppress the compiler warnings then, or use the null-forgiving operator by assigning `null!`. Or is there another way beside these two possibilities?...
@ajcvickers On https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-5.0/breaking-changes#nonnullreferences it is written: "Starting with EF Core 5.0, non-null reference navigations are never overwritten by instances returned from a query." There's no distinction between different `QueryTrackingBehavior`. Or...
title and description edited
I just realized that for `QueryTrackingBehavior.TrackAll` the loading/overwriting also depends on whether the pre-initialized property is on the dependent or principal side. - When the foreign key `BlogId` is added...