* AutoMapper [#xfae5e3c]

 Mapper.CreateMap<userEntity, userViewModel>();
 var userVm = new userViewModel();
 userVm = Mapper.Map<userViewModel>(user);

: Using AutoMapper in Your ASP.Net MVC Applications | http://www.codeguru.com/columns/experts/using-automapper-in-your-asp.net-mvc-applications.htm


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS