↧
Answer by Gert Arnold for Cloning Entity Framework entities
Two possible sources of errors: If you forget to use (or don't want to apply) the virtual modifier, it will no longer be a shallow copy (because virtual is typically used for navigation properties). It...
View ArticleCloning Entity Framework entities
I'm currently writting piece of logic which copies entities from one user account to another. My current strategy in doing this is like that: Consider the following code: public class...
View Article