I have for example an Entity object CAR.
The key is CAR.PlateNumber
Now I want clone this object and all attributes, except the PlateNumber.
But I don't like to assign all attributes separately. Like
NewCar.color = oldCar.color, .....
Is there a Clone function available?
How to clone one object?
Re: How to clone one object?
Please open your *.edml model, navigate to VS > Tools > Entity Developer > Model Explorer, select your template and set its Implement Cloneable property to True. As a result, each entity class will implement the ICloneable interface.