Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IEntity

    Defines an entity.

    Namespace: Umbraco.Cms.Core.Models.Entities
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IEntity : IDeepCloneable

    Properties

    View Source

    CreateDate

    Gets or sets the creation date.

    Declaration
    DateTime CreateDate { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    DeleteDate

    Gets or sets the delete date.

    Declaration
    DateTime? DeleteDate { get; set; }
    Property Value
    Type Description
    System.Nullable<DateTime>
    Remarks

    The delete date is null when the entity has not been deleted.

    The delete date has a value when the entity instance has been deleted, but this value is transient and not persisted in database (since the entity does not exist anymore).

    View Source

    HasIdentity

    Gets a value indicating whether the entity has an identity.

    Declaration
    bool HasIdentity { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    Id

    Gets or sets the integer identifier of the entity.

    Declaration
    int Id { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    Key

    Gets or sets the Guid unique identifier of the entity.

    Declaration
    Guid Key { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    UpdateDate

    Gets or sets the last update date.

    Declaration
    DateTime UpdateDate { get; set; }
    Property Value
    Type Description
    DateTime

    Methods

    View Source

    ResetIdentity()

    Declaration
    void ResetIdentity()
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • CreateDate
      • DeleteDate
      • HasIdentity
      • Id
      • Key
      • UpdateDate
    • Methods
      • ResetIdentity()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX