Is a mapping library like AutoMapper available on the .NET Compact Framework 3.5?

家住魔仙堡 提交于 2019-12-07 22:41:08

问题


Is anyone working on a .NET Compact Framework port of AutoMapper or are there any similar mapping libraries for the .NET Compact Framework?


回答1:


You could build on OmuMapper ? (UPDATE: @Omu himself has since built ValueInjecter).

(Obviously there's a strong chance this wont meet many challenges you might place in front of it. Are you really interested in all the AM features? Is size an issue? Any more context you can give?)

EDIT: As they've RTW'd over at AutoMapper Maybe now is the perfect time to ask the question in their forum while the eyes of the world are watching.

EDIT 2: 5 Oct 12 - AM still doesn't officially support it at present, see this email thread with '10 and '12 contributions from @Jimmy Bogard himself. ... but ValueInjecter does support it (with some provisos)




回答2:


EmitMapper is faster

emitmapper.codeplex.com

but is is subtle hope that it can run in CF

upd: sorry, System.Reflection.Emit doesn't exist in .net cf



来源:https://stackoverflow.com/questions/2071870/is-a-mapping-library-like-automapper-available-on-the-net-compact-framework-3-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!