Ian wrote:
Hi,
Lets say I create a new entity instance, set its primary key and mark it as not new.
If I'm going to call 'Save' on the entity, what is the best way to modify it prior to the save such that the save does nothing!
So you see, I want to call save on an entity and have no work done.
Ian.
You want to call a routine but you want it to do nothing?
. In a recursive save you mean? Ok, besides the point why you would want to do this, you can set entity.Fields.IsDirty to false, and no save takes place.