Class ModelOfEntity
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public abstract record ModelOfEntity : ModelOfEntityCore, IModelSetup<IEntity>, IWrapper<IEntity>, IEquatable<ModelOfEntityCore>, IModelOfEntity, ICanBeEntity, IEquatable<ModelOfEntity>
- Inheritance
-
objectModelOfEntity
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ModelOfEntity()
protected ModelOfEntity()
ModelOfEntity(IEntity)
protected ModelOfEntity(IEntity entity)
Parameters
entityIEntity
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.