Json.Test.Web/Models/Generated/ElectricMeterExchangeDto.g.cs
/// <summary>
/// Map from the current DTO instance to the domain object.
/// </summary>
Map from the current DTO instance to the domain object.
Map from the current DTO instance to the domain object .
public override void MapTo(Json.Test.Data.Models.ElectricMeterExchange entity, IMappingContext context)
        {
            var includes = context.Includes;
            if (OnUpdate(entity, context)) return;
            entity.MeterVoltage = MeterVoltage;
            entity.FieldWorkId = (FieldWorkId ?? entity.FieldWorkId);
            entity.FieldCompletionDateTime = (FieldCompletionDateTime ?? entity.FieldCompletionDateTime);
        }
public override void MapTo ( Json . Test . Data . Models . ElectricMeterExchange entity , IMappingContext context ) { var includes = context . Includes ; if ( OnUpdate ( entity , context ) ) return ; entity . MeterVoltage = MeterVoltage ; entity . FieldWorkId = ( FieldWorkId ?? entity . FieldWorkId ) ; entity . FieldCompletionDateTime = ( FieldCompletionDateTime ?? entity . FieldCompletionDateTime ) ; }
Map from the current DTO instance to the domain object.
Map from the current DTO instance to the domain object .
entity
Json.Test.Data.Models.ElectricMeterExchange
context
IMappingContext