| | |
| | | ///</summary> |
| | | public partial class PhartDiagramRelation |
| | | { |
| | | |
| | | |
| | | //dto to vmo |
| | | internal static Vmo.PhartDiagramRelationVmo Dto2Vmo(Dto.PhartDiagramRelationDto dto) |
| | | { |
| | |
| | | { |
| | | return default; |
| | | } |
| | | var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Dto.PhartDiagramRelationExtensionsDto, Vmo.PhartDiagramRelationExtensionsVmo>() |
| | | ).CreateMapper(); |
| | | var vmo = mapper.Map<Dto.PhartDiagramRelationExtensionsDto, Vmo.PhartDiagramRelationExtensionsVmo>(dto); |
| | | var vmo = dto.Adapt<Vmo.PhartDiagramRelationExtensionsVmo>(); |
| | | return vmo; |
| | | } |
| | | |
| | |
| | | { |
| | | return default; |
| | | } |
| | | var mapper = new MapperConfiguration(cfg => cfg.CreateMap<Dto.PhartDiagramRelationExtensionsDto, Vmo.PhartDiagramRelationExtensionsVmo>() |
| | | ).CreateMapper(); |
| | | var vmos = mapper.Map<List<Dto.PhartDiagramRelationExtensionsDto>, List<Vmo.PhartDiagramRelationExtensionsVmo>>(dtos); |
| | | var vmos = dtos.Adapt<List<Vmo.PhartDiagramRelationExtensionsVmo>>(); |
| | | return vmos; |
| | | } |
| | | |