Search Results for

    Show / Hide Table of Contents

    Class EntityBase<TKey>

    Defines a base definition for an entity.

    Inheritance
    System.Object
    EntityBase<TKey>
    Implements
    IEntityBase<TKey>
    IDatedEntity
    Namespace: MADE.Data.EFCore
    Assembly: MADE.Data.EFCore.dll
    Syntax
    public abstract class EntityBase<TKey> : object, IEntityBase<TKey>, IDatedEntity
    Type Parameters
    Name Description
    TKey

    The type of unique identifier for the entity.

    Properties

    | Improve this Doc View Source

    CreatedDate

    Gets or sets the date of the entity's creation.

    Declaration
    public DateTime CreatedDate { get; set; }
    Property Value
    Type Description
    DateTime
    | Improve this Doc View Source

    Id

    Gets or sets the identifier of the entity.

    Declaration
    public TKey Id { get; set; }
    Property Value
    Type Description
    TKey
    | Improve this Doc View Source

    UpdatedDate

    Gets or sets the date of the entity's last update.

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

    Implements

    IEntityBase<TKey>
    IDatedEntity

    Extension Methods

    ReflectionExtensions.GetPropertyValue<T>(Object, String)
    ReflectionExtensions.GetPropertyNames(Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps