diff --git a/src/Umbraco.Core/Models/ISimpleContentType.cs b/src/Umbraco.Core/Models/ISimpleContentType.cs
index 7f6b2e68ea..740db8e73f 100644
--- a/src/Umbraco.Core/Models/ISimpleContentType.cs
+++ b/src/Umbraco.Core/Models/ISimpleContentType.cs
@@ -5,10 +5,10 @@ namespace Umbraco.Core.Models
///
/// Represents a simplified view of a content type.
///
- public interface ISimpleContentType
+ public interface ISimpleContentType : IUmbracoEntity
{
- int Id { get; }
- string Name { get; }
+ new int Id { get; }
+ new string Name { get; }
///
/// Gets the alias of the content type.
diff --git a/src/Umbraco.Core/Models/SimpleContentType.cs b/src/Umbraco.Core/Models/SimpleContentType.cs
index 86a1e56723..5c81017ec8 100644
--- a/src/Umbraco.Core/Models/SimpleContentType.cs
+++ b/src/Umbraco.Core/Models/SimpleContentType.cs
@@ -106,29 +106,29 @@ namespace Umbraco.Core.Models
// we have to have all this, because we're an IUmbracoEntity, because that is
// required by the query expression visitor / SimpleContentTypeMapper
- //string ITreeEntity.Name { get => this.Name; set => throw new NotImplementedException(); }
- //int IEntity.Id { get => this.Id; set => throw new NotImplementedException(); }
- //bool IEntity.HasIdentity => this.Id != default;
- //int ITreeEntity.CreatorId { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
- //int ITreeEntity.ParentId { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
- //int ITreeEntity.Level { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
- //string ITreeEntity.Path { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
- //int ITreeEntity.SortOrder { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
- //bool ITreeEntity.Trashed => throw new NotImplementedException();
- //Guid IEntity.Key { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
- //DateTime IEntity.CreateDate { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
- //DateTime IEntity.UpdateDate { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
- //DateTime? IEntity.DeleteDate { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
- //void ITreeEntity.SetParent(ITreeEntity parent) => throw new NotImplementedException();
- //object IDeepCloneable.DeepClone() => throw new NotImplementedException();
- //bool IRememberBeingDirty.WasDirty() => throw new NotImplementedException();
- //bool IRememberBeingDirty.WasPropertyDirty(string propertyName) => throw new NotImplementedException();
- //void IRememberBeingDirty.ResetWereDirtyProperties() => throw new NotImplementedException();
- //void IRememberBeingDirty.ResetDirtyProperties(bool rememberDirty) => throw new NotImplementedException();
- //IEnumerable IRememberBeingDirty.GetWereDirtyProperties() => throw new NotImplementedException();
- //bool ICanBeDirty.IsDirty() => throw new NotImplementedException();
- //bool ICanBeDirty.IsPropertyDirty(string propName) => throw new NotImplementedException();
- //IEnumerable ICanBeDirty.GetDirtyProperties() => throw new NotImplementedException();
- //void ICanBeDirty.ResetDirtyProperties() => throw new NotImplementedException();
+ string ITreeEntity.Name { get => this.Name; set => throw new NotImplementedException(); }
+ int IEntity.Id { get => this.Id; set => throw new NotImplementedException(); }
+ bool IEntity.HasIdentity => this.Id != default;
+ int ITreeEntity.CreatorId { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+ int ITreeEntity.ParentId { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+ int ITreeEntity.Level { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+ string ITreeEntity.Path { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+ int ITreeEntity.SortOrder { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+ bool ITreeEntity.Trashed => throw new NotImplementedException();
+ Guid IEntity.Key { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+ DateTime IEntity.CreateDate { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+ DateTime IEntity.UpdateDate { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+ DateTime? IEntity.DeleteDate { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+ void ITreeEntity.SetParent(ITreeEntity parent) => throw new NotImplementedException();
+ object IDeepCloneable.DeepClone() => throw new NotImplementedException();
+ bool IRememberBeingDirty.WasDirty() => throw new NotImplementedException();
+ bool IRememberBeingDirty.WasPropertyDirty(string propertyName) => throw new NotImplementedException();
+ void IRememberBeingDirty.ResetWereDirtyProperties() => throw new NotImplementedException();
+ void IRememberBeingDirty.ResetDirtyProperties(bool rememberDirty) => throw new NotImplementedException();
+ IEnumerable IRememberBeingDirty.GetWereDirtyProperties() => throw new NotImplementedException();
+ bool ICanBeDirty.IsDirty() => throw new NotImplementedException();
+ bool ICanBeDirty.IsPropertyDirty(string propName) => throw new NotImplementedException();
+ IEnumerable ICanBeDirty.GetDirtyProperties() => throw new NotImplementedException();
+ void ICanBeDirty.ResetDirtyProperties() => throw new NotImplementedException();
}
}