AutoMapper


http://automapper.org/

A convention-based object-object mapper映射.

100% organic and gluten-free.

Takes out all of the fuss of mapping one object to another.

convention 大会;[法] 惯例;[计] 约定;[法] 协定;习俗

 

https://github.com/AutoMapper/AutoMapper

What is AutoMapper?

AutoMapper is a simple little library built to solve a deceptively迷惑地 complex problem - getting rid of code that mapped one object to another.

This type of code is rather dreary沉闷的,枯燥的 and boring to write, so why not invent a tool to do it for us?

 

How do I get started?
Check out the getting started guide.  

When you're done there, the wiki goes in to the nitty-gritty details.

Finally, check out the dnrTV episode for a full walkthrough.

If you have questions, you can post them to the Mailing List.

 

Where can I get it?

First, install NuGet. Then, install AutoMapper from the package manager console:

PM> Install-Package AutoMapper

 

你可能感兴趣的:(AutoMapper)