コード例 #1
0
 public static void AddMappings(AutoMapper.IMapperConfigurationExpression config)
 {
     config.AddProfile <VM.Models.TournamentObservableMappingProfile>();
     config.AddProfile <TournamentTeamObservableMappingProfile>();
     config.AddProfile <PlayerObservableMappingProfile>();
     config.AddProfile <TourObservableMappingProfile>();
     config.AddProfile <TourGameResultObservableMappingProfile>();
     Services.Models.ModelsMappingConfig.AddMappings(config);
 }
コード例 #2
0
 public static void AddMappings(AutoMapper.IMapperConfigurationExpression expr)
 {
     expr.AddProfile <Models.Api.ToDoItemApiModelProfile>();
     expr.AddProfile <CategoryMappingProfile>();
 }