Example #1
0
        /// <inheritdoc />
        public Location Convert(LocationDTO value, object state)
        {
            var entity = new SphereLocation();

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