Wiktor
My feedback
4 results found
-
3 votes
Wiktor shared this idea ·
-
3 votes
An error occurred while saving the comment -
2 votes
Wiktor supported this idea ·
-
7 votes
Wiktor shared this idea ·
Hi Ahash,
you could bypass this by using the IsDirty property. As you see, the Update only happens if there are changed values. So your code could look like this:
var entitiesThatWillGetUpdatedCount = myEntities.Count(x => x.IsDirty);