1

From Automapper and Value Injecter which one is the fastest, which one is the flexible one? as of 2014 (today) not the evaluation of the past

4

1 回答 1

0

如果您担心性能,您可以使用 SmartConventionInjection,它可以学习类型对之间的匹配并因此更快地工作,它也不使用匹配算法中的属性值(大多数时候您不需要) 在这里你可以看到它:

http://valueinjecter.codeplex.com/wikipage?title=SmartConventionInjection

还有一些速度测试

对于差异,灵活性,请参阅这个问题:AutoMapper vs ValueInjecter

于 2014-12-12T13:25:41.417 回答