Interface IModelOfEntity
Foundation for interfaces which will enhance ModelOfEntity which gets its data from an Entity.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public interface IModelOfEntity : ICanBeEntity
- Inherited Members
- Extension Methods
Remarks
This is used for more type safety - so you base your interfaces - like IPerson on this, otherwise you're IPerson would be missing the Title, Id, Guid
- Introduced in v21.01
Properties
Guid
The entity guid, as quick, nice accessor.
Guid Guid { get; }
Property Value
- Guid
The guid, or an empty-guid of no entity available
Id
The entity id, as quick, nice accessor.
int Id { get; }
Property Value
- int
The id, or 0 if no entity available
Title
The title as string.
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.