Update ContentTypeRepositoryBase.cs

propertytypeid => propertyTypeId
This commit is contained in:
erol akgül
2020-08-11 15:52:19 +03:00
committed by Sebastiaan Janssen
parent fd88a88b08
commit ee80c24df1

View File

@@ -1184,7 +1184,7 @@ AND umbracoNode.id <> @id",
{
// first clear dependencies
Database.Delete<TagRelationshipDto>("WHERE propertyTypeId = @Id", new { Id = propertyTypeId });
Database.Delete<PropertyDataDto>("WHERE propertytypeid = @Id", new { Id = propertyTypeId });
Database.Delete<PropertyDataDto>("WHERE propertyTypeId = @Id", new { Id = propertyTypeId });
// then delete the property type
Database.Delete<PropertyTypeDto>("WHERE contentTypeId = @Id AND id = @PropertyTypeId",