| Clean Architecture Toolkit for .NET | |||||
|
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications. It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design. |
|
||||
|
| HOME | MODULE OVERVIEW | DEMO | CAT.EFCORE | |
|||||
Code Reference
» Cat.EFCore.Entities Assembly » Cat.EFCore.Entities Namespace
CatEntityBase Class
Base class for entities that live in a regular table. It gives every entity a unique id and a database generated sequence number.
public class CatEntityBase
Inheritance System.Object → CatEntityBase
Derived
↳ CatTemporalEntityBase
| Properties | |
|---|---|
| Id | Gets or sets the unique id of the entity. It is the non-clustered primary key. A new System.Guid is created when the entity is instantiated. |
| SequenceId | Gets or sets the sequence number of the entity. The database generates it as an identity column and it is the clustered index. It never changes after the first save. |