开发者

It is possible to use WCF + DTO's + Automapper?

I want to use automapper with a开发者_JAVA技巧 structure that uses WCF + DTO's but I want to know how the question of the eager loading with entity framework 4.0 work with the mappings of the automap.


I recently use Automapper with LightSpeed ORM (which makes Entity Framework look like a prototypea btw). It just works. It wont matter if your entities are eager or lazy loaded or used via WCF or not. Automapper is resolving the referenced entities the same way you would in your own code.


"well, I just want to know if there is any issues with eager loading and the automapper auto-mapping feature. "

No.

In fact so "No." that it makes me wonder why you would think there would be problems.

Eager loading fills properties up with data. Automapper moves property values around.

What exactly are you trying to do?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜