What is the best way to copy the data from EntityCollection<MyFirstEntity> to EntityCollection<MySecondEntity>.
The definitions of MyFirstEntity and MySecondEntity are almost identical except that MySecondEntity has some additional fields.
I'm thinking that it might be possible to do this with a projection but I can't find a direct example for this.
Right now, I'm creating an empty collection for MySecondEntity and then looping through
EntityCollection<MyFirstEntity> and creating each entity for EntityCollection<MySecondEntity> in the loop. It doesn't seem like a great approach but it does work.
I'm interested in the best option for performance but also for coding simplicity.