in entities extension -> update option/outcome/strategyoptions
when instead of using .state = Added
using entities.Add(...
gets the errors
The database operation was expected to affect 1 row(s), but actually affected 0 row(s); data may have been modified or deleted since entities were loaded. See https://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions.
in entities extension -> update option/outcome/strategyoptions
when instead of using .state = Added
using entities.Add(...
gets the errors
The database operation was expected to affect 1 row(s), but actually affected 0 row(s); data may have been modified or deleted since entities were loaded. See https://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions.