Table of Contents

Class ModelFromEntityFull

Namespace
ToSic.Eav.Models
Assembly
ToSic.Eav.Data.dll

A basic model (record) of entities. It extends the blank implementation by providing the basic Entity properties Id, Guid and Title by default.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public abstract record ModelFromEntityFull : ModelFromEntity, IModelFromEntity, IModelFromData, IModelSetup<IEntity>, IEquatable<ModelFromEntity>, IModelFromEntityBasic, ICanBeEntity, IEquatable<ModelFromEntityFull>
Inheritance
object
ModelFromEntityFull
Implements
Derived
Inherited Members
Extension Methods

Constructors

ModelFromEntityFull()

Empty constructor, so it can be inherited without having to specify a constructor.

protected ModelFromEntityFull()

ModelFromEntityFull(IEntity)

Constructor which already includes the data to wrap; rarely used.

protected ModelFromEntityFull(IEntity entity)

Parameters

entity IEntity

Properties

Guid

The entity guid, as quick, nice accessor.

public Guid Guid { get; }

Property Value

Guid

The guid, or an empty-guid of no entity available

Id

The entity id, as quick, nice accessor.

public int Id { get; }

Property Value

int

The id, or 0 if no entity available

Title

The title as string.

public virtual string Title { get; }

Property Value

string

The title, or an empty string if not available or not string-able

Remarks

Can be overriden by other parts, if necessary.