When I talk about "projections," what do I mean? In the Model-View-ViewModel (MVVM) pattern, a view model is bound to a Windows Presentation Foundation (WPF) window or user control (the view). The ...
C#で開発を行っていると、ViewModelやDTOにデータを詰め替えるコードを書かなければならないことがあります。このようなプログラムは難しくはありませんが、単調な作業ゆえにケアレスミスをしやすく、思いのほかメンテナンスに手間どってしまう場合が ...
One of the great things about the .NET community is the wealth of open source projects that are available to you. In previous columns, I've written about my use of Castle Windsor (December 2011) and ...
AutoMapper is a popular object-to-object mapping library that can be used to map objects belonging to dissimilar types. As an example, you might need to map the DTOs (Data Transfer Objects) in your ...
AutoMapper is a convention-based, object-oriented mapper. An object-oriented mapper is one that transforms an input object into an output object of a different type. AutoMapper also can be used to map ...
I'm using VS2010, the project is set to .Net 4.0, AnyCpu, running on 64bit Windows 7 machine. I see the same behavior with Automapper 2.2.0, 2.2.1 and 3.0.0, all from nuget. The exception is different ...
I am thinking about how to do Ignore function of Automapper correctly. For example: I have 1 entity class from Database with around 10 properties. I make 1 new DTO class with exactly the same 10 ...