Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Don Nehc 69 posts 222 karma points
    Sep 02, 2016 @ 16:47
    Don Nehc
    0

    IUmbracoEntity Question

    Hello,

    I created a new school type interface. Do I need to extend from IUmbracoEntity? Currently, I have:

    public class SchoolType : Entity, ISchoolType
    {
        //private int _parentId;
        private int _id;
        private string _name;
        ....
    }
    

    and:

    public interface ISchoolType : IUmbracoEntity
    {
    
    }
    

    But the problem I have is that I don't need some of the interfaces from IUmbracoEntity, like Level, Path, etc. Can I use IEntity instead?

    Best, -Don

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies