Auto mapper
-
Upload
andriy-buday -
Category
Technology
-
view
1.034 -
download
3
Transcript of Auto mapper
![Page 1: Auto mapper](https://reader035.fdocuments.in/reader035/viewer/2022071702/55d57f28bb61ebf8738b4721/html5/thumbnails/1.jpg)
AutoMapper
Andriy Budayhttp://andriybuday.blogspot.com/
![Page 2: Auto mapper](https://reader035.fdocuments.in/reader035/viewer/2022071702/55d57f28bb61ebf8738b4721/html5/thumbnails/2.jpg)
2
What is AutoMapper?
DEMO 1: Get started & FeaturesGet started with AutoMapper
Custom map
Flattening
Custom Type Resolvers
Custom Formatters
Performance
DEMO 2: Real world use
Outline
![Page 3: Auto mapper](https://reader035.fdocuments.in/reader035/viewer/2022071702/55d57f28bb61ebf8738b4721/html5/thumbnails/3.jpg)
3
What is AutoMapper?
customerDTO.FirstName = customer.FirstName;
customerDTO.LastName = customer.LastName;
customerDTO.MiddleName = customer.MidName;
customerDTO.DateOfBirth = customer.DateOfBirth;
customerDTO.NumberOfOrders = customer.NumberOfOrders;
If you like code above, you don’t need AutoMapper
![Page 4: Auto mapper](https://reader035.fdocuments.in/reader035/viewer/2022071702/55d57f28bb61ebf8738b4721/html5/thumbnails/4.jpg)
44
Damn it!
Let’s write some code!
![Page 5: Auto mapper](https://reader035.fdocuments.in/reader035/viewer/2022071702/55d57f28bb61ebf8738b4721/html5/thumbnails/5.jpg)
5
Thank you! Read blog! Follow me on twitter!
@andriybuday
http://andriybuday.blogspot.com/
Thank you!
![Page 6: Auto mapper](https://reader035.fdocuments.in/reader035/viewer/2022071702/55d57f28bb61ebf8738b4721/html5/thumbnails/6.jpg)
6
My blog posts on AutoMapper:
http://andriybuday.blogspot.com/search/label/AutoMapper
My article on CodeProject:
http://www.codeproject.com/KB/library/AutoMapper.aspx
AutoMapper Home Page:
http://automapper.codeplex.com/
AutoMapper Sources:
http://github.com/jbogard/AutoMapper
Links