Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
easyextensionsentityframeworkcoreabstractions BaseEntity
BigMakCode edited this page Aug 5, 2024
·
1 revision
Base entity.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph EasyExtensions.EntityFrameworkCore.Abstractions
EasyExtensions.EntityFrameworkCore.Abstractions.BaseEntity[[BaseEntity]]
class EasyExtensions.EntityFrameworkCore.Abstractions.BaseEntity abstractStyle;
end
| Type | Name | Methods |
|---|---|---|
DateTime | CreatedAtUtcCreated at UTC. | get, set |
int | IdEntity identifier. | get, set |
DateTime | UpdatedAtUtcUpdated at UTC. | get, set |
| Returns | Name |
|---|---|
void | Update(BaseEntity entity)Update entity method is calling in BaseRepository<TItem>.UpdateAsync(`0) . Do not call this method from overriden method. |
Base entity.
protectedBaseEntity()publicvirtualvoidUpdate(BaseEntityentity)| Type | Name | Description |
|---|---|---|
BaseEntity | entity | Entity to update. |
Update entity method is calling in BaseRepository<TItem>.UpdateAsync(`0) . Do not call this method from overriden method.
| Name | Description |
|---|---|
| NotImplementedException | Update method is not overriden in inherited class. |
publicintId{get;set;}Entity identifier.
publicDateTimeCreatedAtUtc{get;set;}Created at UTC.
publicDateTimeUpdatedAtUtc{get;set;}Updated at UTC.
Generated withModularDoc