Arthur Vickers
Arthur Vickers
This issue is lacking enough information for us to be able to fully understand what is happening. Please attach a small, runnable project or post a small, runnable code listing...
@patrickhacens There is no code for the DbContext type or entity types.
Note for triage: the issue here is that the event is happening as part of DetectChanges, which means if a property value is set while processing the event, then it...
We discussed this with the team, and there really doesn't seem to be any way around this. Doing another round of DetectChanges would potentially lead to the need for yet...
@Peter-B- We discussed this in triage. The note is good, but please leave it as a single line and remove the link and other text.
@robbaman Try: ```C# dbSet.TheTable.Where(t => ((string)(object)t.Nummer).Contains("some text")).ToList() ``` Not sure it will work, but it might.
Yeah, we should doc this. Re-opening to track. (I don't know if this was ever an intention part of the design. @smitpatel?)
Example assumes I don't want to overwrite the primary key - what if the operation is perfectly fine?
@Snappee EF should throw a different exception if you attempt to change a key property value. Please attach a small, runnable project or post a small, runnable code listing that...
Example assumes I don't want to overwrite the primary key - what if the operation is perfectly fine?
**EF Team Triage:** Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it. *BTW this is a canned response and...