Exemplo n.º 1
0
        /// <inheritdoc />
        public Location Convert(LocationDTO value, object state)
        {
            var entity = new CylinderLocation();

            this.Merge(entity, value, state);
            return(entity);
        }
Exemplo n.º 2
0
 partial void Merge(CylinderLocation entity, LocationDTO dto, object state)
 {
     entity.Height   = dto.Height;
     entity.Radius   = dto.Radius;
     entity.Rotation = dto.Rotation;
 }
Exemplo n.º 3
0
 // Implement this method in a buddy class to set properties that are specific to 'CylinderLocation' (if any)
 partial void Merge(CylinderLocation entity, LocationDTO dto, object state);