File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Umbraco.Cms.ManagementApi/DependencyInjection Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66using Umbraco . Cms . ManagementApi . Mapping . Languages ;
77using Umbraco . Cms . ManagementApi . Mapping . Relation ;
88using Umbraco . Cms . ManagementApi . Mapping . TrackedReferences ;
9- using Umbraco . New . Cms . Infrastructure . Persistence . Mappers ;
109
1110namespace Umbraco . Cms . ManagementApi . DependencyInjection ;
1211
@@ -17,7 +16,6 @@ internal static IUmbracoBuilder AddMappers(this IUmbracoBuilder builder)
1716 builder . WithCollectionBuilder < MapDefinitionCollectionBuilder > ( )
1817 . Add < DictionaryViewModelMapDefinition > ( )
1918 . Add < TrackedReferenceViewModelsMapDefinition > ( )
20- . Add < RelationModelMapDefinition > ( )
2119 . Add < RelationViewModelsMapDefinition > ( )
2220 . Add < LanguageViewModelsMapDefinition > ( )
2321 . Add < InstallerViewModelsMapDefinition > ( )
Original file line number Diff line number Diff line change 33using Umbraco . Cms . Core . Mapping ;
44using Umbraco . Cms . Core . Models . Mapping ;
55using Umbraco . Cms . Core . Security ;
6+ using Umbraco . Cms . Infrastructure . Mapping ;
67using Umbraco . Extensions ;
78
89namespace Umbraco . Cms . Infrastructure . DependencyInjection ;
@@ -23,6 +24,7 @@ public static IUmbracoBuilder AddCoreMappingProfiles(this IUmbracoBuilder builde
2324 . Add < ContentTypeMapDefinition > ( )
2425 . Add < DataTypeMapDefinition > ( )
2526 . Add < EntityMapDefinition > ( )
27+ . Add < RelationModelMapDefinition > ( )
2628 . Add < DictionaryMapDefinition > ( )
2729 . Add < MacroMapDefinition > ( )
2830 . Add < RedirectUrlMapDefinition > ( )
Original file line number Diff line number Diff line change 22using Umbraco . Cms . Core . Models ;
33using Umbraco . Cms . Infrastructure . Persistence . Repositories . Implement ;
44
5- namespace Umbraco . New . Cms . Infrastructure . Persistence . Mappers ;
5+ namespace Umbraco . Cms . Infrastructure . Mapping ;
66
77public class RelationModelMapDefinition : IMapDefinition
88{
You can’t perform that action at this time.
0 commit comments