Table of Contents

Interface IModelFromEntity

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

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

[InternalApi_DoNotUse_MayChangeWithoutNotice("may change or rename at any time")]
public interface IModelFromEntity : IModelFromData

Remarks

The sole purpose of this is to ensure that classes/records/interfaces can declare that they can be used as models of entities. This should help the compiler detect early on, if interfaces / objects passed to As{TModel} are valid or not. It does not have any properties, since that would put a burden on anything that

History

  • WIP v21