DataType refactoring preparation - Entity refactoring

This commit is contained in:
Stephan
2018-01-10 12:48:51 +01:00
parent 2cb6378c26
commit b5856803e1
236 changed files with 1872 additions and 1869 deletions

View File

@@ -296,11 +296,11 @@ namespace Umbraco.Tests.Benchmarks
properties = contentType.PropertyTypes.Select(p =>
{
XmlNode n;
return propertyNodes.TryGetValue(p.PropertyTypeAlias.ToLowerInvariant(), out n)
return propertyNodes.TryGetValue(p.Alias.ToLowerInvariant(), out n)
? new XmlPublishedProperty(p, null, isPreviewing, n)
: new XmlPublishedProperty(p, null, isPreviewing);
}).Cast<IPublishedProperty>().ToDictionary(
x => x.PropertyTypeAlias,
x => x.Alias,
x => x,
StringComparer.OrdinalIgnoreCase);
}