Table of Contents

Namespace ToSic.Eav.Models

Namespaces

ToSic.Eav.Models.Factory

Classes

ModelFromEntity

Foundation for a record which gets its data from an Entity. Completely empty, no public properties.

ModelFromEntityBasic

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

ModelFromEntityClassic

BETA / WIP: Base class for plain data models and can be used in Razor Components. It wraps an IEntity and provides a simple way to access the data.

ModelSpecsAttribute

Mark custom models/interfaces for additional specifications.

ToModelExtensions

Extension methods to convert IEntity or lists of IEntity to Models. WIP v21 TODO DOCS

Interfaces

IModelFromData

Marks objects such as custom items or data models, which can wrap data (usually Entities or TypedItems).

IModelFromEntity

Marks classes and interfaces as being able to handel Entities as the underlying data.

IModelFromEntityBasic

Foundation for interfaces which enhance ModelFromEntityBasic to always include Id, Guid and Title

IModelSetup<TSource>

Marks objects such as custom items or data models, which can receive a specific data-type (entity or typed item) and wrap it.