Is there a shorter way to overwrite properties of an original entity object to a current entity obje
- by Jronny
For example, I have:
originalItem.Property1 = currentItem.Property1;
originalItem.Property2 = currentItem.Property2;
originalItem.Property3 = currentItem.Property3;
originalItem.Property4 = currentItem.Property4;
The properties will also change if the currentItem's property's value is different from that of originalItem's.
Any shortcuts here? Thanks.