Arthur Vickers

Results 1127 comments of Arthur Vickers

The `DbContext` is tracking this before the `PreserveReferences` code is run: ``` StepType {Id: 1} Unchanged Id: 1 PK Name: 'Test Type' TestCase {Id: 1} Unchanged Id: 1 PK TestStages:...

@soloham If you never change the navigation property value, then EF will use only the FK value. But if the navigation is changed, then EF will reflect that change. It...

EF supports changing the navigation properties as a way to change relationships. If the relationship is required, and the FK property is non-nullable, then severing a relationship results in that...

The behavior of EF is identical if the relationship is severed from one side or the other, or using the foreign key.

@soloham You have a different opinion about how EF Core should handle modification of relationships. I have discussed this kind of thing with people for 16 years now. There are...

@soloham As I understand it, the "major risks" are that an entity gets put in a Deleted state when you don't think it should. EF does this if a navigation...

EF Core deletes orphaned dependents of required relationships that are identifying or configured for cascade delete. If you don't think that EF should put entities in the Deleted state by...

If you want to treat this as a duplicate of #10066, that's fine by me. I don't see anything additional that this issue adds to that.

@maumar So, are you saying that using `ValueTextEquals` gives a different result than creating the values and using `Equals`? And if this is the case, is this by-design from the...