Skip to main content

Jun
4
awarded Yearling
Jun
4
awarded Yearling
Mar
8
awarded Caucus
Feb
27
awarded Popular Question
Feb
12
awarded Popular Question
Jan
15
accepted EF Core: Why are the foreign keys in my one-to-many association becoming outdated?
Jan
12
revised EF Core: Why are the foreign keys in my one-to-many association becoming outdated?
Additional information from troubleshooting
Jan
2
answered EF Core: Why are the foreign keys in my one-to-many association becoming outdated?
Jan
2
comment EF Core: Why are the foreign keys in my one-to-many association becoming outdated?
@StevePy That seems to have done the trick. I didn't realize a populated navigation property would 'block' foreign-key assignment. I'll accept this as an answer if you want to submit it. Is this behavior documented somewhere?
Jan
2
revised EF Core: Why are the foreign keys in my one-to-many association becoming outdated?
fix typo
Jan
2
comment EF Core: Why are the foreign keys in my one-to-many association becoming outdated?
@StevePy The second time, it's called with a previously-loaded and untracked entity. The Project object itself is not stored in the database, but the VSDrawingWindowData object and LayoutElementData objects are previously-loaded and explicity untracked, obtained from a discarded dbContext.
Jan
2
comment EF Core: Why are the foreign keys in my one-to-many association becoming outdated?
@StevePy added details in the question text
Jan
2
revised EF Core: Why are the foreign keys in my one-to-many association becoming outdated?
Adding more of my code in question.
Jan
1
asked EF Core: Why are the foreign keys in my one-to-many association becoming outdated?
2023
Dec
19
accepted Why am I seeing deadbands in the output from TMAG5273 (Angular hall sensor)?
Dec
13
awarded Teacher
Dec
13
answered Why am I seeing deadbands in the output from TMAG5273 (Angular hall sensor)?
Dec
12
comment Why am I seeing deadbands in the output from TMAG5273 (Angular hall sensor)?
@JasenСлаваУкраїні presumably the field-lines are roughly parallel, it's a diametric neodymium magnet with a 10mm diameter and 5mm thickness but I haven't tried to visualize the field lines in any way. Could be saturation, I'll read out the X/Y magnet field values to confirm.
Dec
12
asked Why am I seeing deadbands in the output from TMAG5273 (Angular hall sensor)?
Dec
7
awarded Supporter
1 2 3 4 5