Renaming a PetaPoco relator for consistency after db schema updates
This commit is contained in:
@@ -3,7 +3,7 @@ using Umbraco.Core.Models.Rdbms;
|
||||
|
||||
namespace Umbraco.Core.Persistence.Relators
|
||||
{
|
||||
internal class TabPropertyTypeRelator
|
||||
internal class GroupPropertyTypeRelator
|
||||
{
|
||||
internal PropertyTypeGroupDto current;
|
||||
|
||||
@@ -188,7 +188,7 @@ namespace Umbraco.Core.Persistence.Repositories
|
||||
propertySql.InnerJoin("cmsDataType ON [cmsPropertyType].[dataTypeId] = [cmsDataType].[nodeId]");
|
||||
propertySql.Where("[cmsPropertyType].[contentTypeId] = @Id", new { Id = id });
|
||||
|
||||
var dtos = Database.Fetch<PropertyTypeGroupDto, PropertyTypeDto, DataTypeDto, PropertyTypeGroupDto>(new TabPropertyTypeRelator().Map, propertySql);
|
||||
var dtos = Database.Fetch<PropertyTypeGroupDto, PropertyTypeDto, DataTypeDto, PropertyTypeGroupDto>(new GroupPropertyTypeRelator().Map, propertySql);
|
||||
|
||||
var propertyFactory = new PropertyGroupFactory(id);
|
||||
var propertyGroups = propertyFactory.BuildEntity(dtos);
|
||||
|
||||
@@ -143,7 +143,7 @@
|
||||
<Compile Include="Persistence\Repositories\Interfaces\IRelationRepository.cs" />
|
||||
<Compile Include="Persistence\Repositories\Interfaces\IRelationTypeRepository.cs" />
|
||||
<Compile Include="Persistence\Repositories\Interfaces\IRepositoryQueryable.cs" />
|
||||
<Compile Include="Persistence\Relators\TabPropertyTypeRelator.cs" />
|
||||
<Compile Include="Persistence\Relators\GroupPropertyTypeRelator.cs" />
|
||||
<Compile Include="Persistence\Repositories\Interfaces\IScriptRepository.cs" />
|
||||
<Compile Include="Persistence\Repositories\Interfaces\IRepository.cs" />
|
||||
<Compile Include="Persistence\Repositories\Interfaces\IStylesheetRepository.cs" />
|
||||
|
||||
Reference in New Issue
Block a user