BusinessObjects from WinForms of Patterns In Action4.5
Why do you need to Mapper.CreateMap work to define the MemberModel / OrderDetailModel / OrderModel from the Model folder?
\Patterns in Action\WinFormsApp\Models\Model.cs
public MemberModel GetMember(int memberId)
var member = service.GetMember(memberId);
return Mapper.Map<Member, MemberModel>(member);
My Coding : DTO (http://corej2eepatterns.com/Patterns2ndEd/TransferObject.htm)
public Member GetMember(int memberId)
Why do not use DTO?