-
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 |
CreatedAtUtc Created at UTC. |
get, set |
int |
Id Entity identifier. |
get, set |
DateTime |
UpdatedAtUtc Updated 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.
protected BaseEntity()
public virtual void Update(BaseEntity entity)
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. |
public int Id { get; set; }
Entity identifier.
public DateTime CreatedAtUtc { get; set; }
Created at UTC.
public DateTime UpdatedAtUtc { get; set; }
Updated at UTC.
Generated with ModularDoc