views:

53

answers:

1

If the value of a field is not actually changed but reassigned the same value, will that reassignment be marked for update when submitting to database?

+1  A: 

Yes, simply setting the property marks it as dirty.

Adam Robinson
so how would you map doman objects to linq entities withot making them dirty every time?
zsharp
Check the values before you set them, or use the LINQ objects as your domain objects.
Adam Robinson