AutoMapper LINQ Support Deep Dive

added by DotNetKicks
8/16/2019 2:29:21 PM

358 Views

My favorite feature of AutoMapper is its LINQ support. If you're using AutoMapper, and not using its queryable extensions, you're missing out! Normal AutoMapper usage is something like: var dest = _mapper.Map<Dest>(source); Which would be equivalent to: var dest = new Dest { Thing = source.Thing, Thing2 = source.


0 comments