Example #1
0
 public static DtoGen.Sample_02.Model.Genre TransformToSource(this DtoGen.Sample_02.DTO.GenreData target)
 {
     DtoGen.Core.PropertyConverter.EnsureInitialized();
     DtoGen.Sample_02.Model.Genre source = new DtoGen.Sample_02.Model.Genre();
     source.Id   = target.Id;
     source.Name = target.Name;
     return(source);
 }
Example #2
0
 public static void PopulateSource(this DtoGen.Sample_02.DTO.GenreData target, DtoGen.Sample_02.Model.Genre source)
 {
     DtoGen.Core.PropertyConverter.EnsureInitialized();
     source.Id   = target.Id;
     source.Name = target.Name;
 }