1

Resolved

T4 template has bug on generating Dto Mapping when mapping structures

description

1st issue:
On generating Dto mapping class for structures types it forgot ; on line end like this:

var mapping12 =
mapping11
.MapStructure<Address, AddressDto>()
.IgnoreProperty(dto => dto.OriginalObject) << here missing ;

2nd issue:
Mapping to structures must add IgnoreProperty for "_MappingKey" also, because structures does not have key mapping.

comments