Beispiel #1
0
        public override void MapToModel(EntityOnlySimplePropertiesDTO dto, EntityOnlySimpleProperties model)
        {
            model.Name        = dto.Name;
            model.Date        = dto.Date;
            model.OtherString = dto.OtherString;

            ////BCC/ BEGIN CUSTOM CODE SECTION

            model.CustomProperty = dto.CustomProperty;

            ////ECC/ END CUSTOM CODE SECTION
        }
        public override void MapToModel(EntityOnlySimplePropertiesDTO dto, EntityOnlySimpleProperties model)
        {
            model.Name        = dto.Name;
            model.Date        = dto.Date;
            model.OtherString = dto.OtherString;

            ////BCC/ BEGIN CUSTOM CODE SECTION
            // Some custom property 2 leading comment - should not dissapear
            model.CustomProperty = dto.CustomProperty;

            var t = new ComplexEntityDTO()
            {
                CustomProperty = ""
            };

            ////ECC/ END CUSTOM CODE SECTION
        }