Is a mapping library like AutoMapper available on

2019-05-24 03:07发布

问题:

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