Temptica
Temptica
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
anyways, thank you very much again!
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
before they kept using .net 5
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
okay fair enough, this is teh first year we're allowed to use .NET 7 even
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
I really never saw them before. But imagine school actually explaining some USEFULL stuff 😄 altho I didn't see it while doing research so that's also on me
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
Exactly! and it saves me some lines of code, also a +
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
yeah backend does not have any async voids
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
The frontend does have it but that shouldn't really be it right?
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
which groupmate broke my code sus 😄
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
foreach (var b in request.Notification.ChangedBatches) { await _uow.BatchRepository.UpdateBatchStatus(b.BatchId, Status.AwaitConfirmation); } I do await it, I did use async task etc so yeah, no clue
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
it's all async so yeah
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
but anything else I tried had tracking issues or just didn't update at all
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
ExecuteUpdateAsync worked fine
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
Okay that was stupidly easy and I somehow never came across this solution on the internet, Even AI didn't suggest it. I don't understand how people trust AI soo much with their code but oh well, you're a legend for helping me out
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
never had problems with the Enum before though in case you're wondering
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
SQL Server
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
Enum
43 replies
CC#
Created by Temptica on 12/21/2023 in #help
✅ Urgent | Cannot update property in EF because another instance with the same key is being tracked
never heared of the second one, will give that a shot, but the first one did not work as the value didn't get updated
43 replies
CC#
Created by Temptica on 11/26/2023 in #help
✅ Binding a RelayCommand in a CollectionView DataTemplate with an other object as DataType
yeah so that solved it facepalm Well Thank you very much for the help!
17 replies
CC#
Created by Temptica on 11/26/2023 in #help
✅ Binding a RelayCommand in a CollectionView DataTemplate with an other object as DataType
omfg
17 replies
CC#
Created by Temptica on 11/26/2023 in #help
✅ Binding a RelayCommand in a CollectionView DataTemplate with an other object as DataType
Let’s try
17 replies