During all my work I've been working with ORM, WS, integration services, viewmodel and so on.
The common stuff in all these kind of work is that I had to make mappings and not always the available framework are enough to help in this mapping.
The question which I'm wondering is: is a consistent part of the development process dealing with mapping? It would be good to develop a tool for solving this kind of problems?
sqlClient.AddParameterWithValue("switch", SqlDbType.TinyInt, user.IDUser); sqlClient.AddParameterWithValue("IDUtente", SqlDbType.Int, user.IDUser);
GetSQLParameter("@switch", SqlDbType.TinyInt, 1), _ GetSQLParameter("@IDUtente", SqlDbType.Int), _
MappingFramework.Mapper.CreateMap<DataRecordWrapper, User>() .ForMember(dest => dest.IDUser, opt => opt.MapFrom(src => src.GetInt("switch"))) .ForMember(dest => dest.FirstName, opt => opt.MapFrom(src => src.GetString("IDUtente")))