-
-
Notifications
You must be signed in to change notification settings - Fork 44
sharedlibrarycoreinterfaces IEntityServiceT
RaidMax edited this page May 21, 2023
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IEntityService_1[[IEntityService< T >]]
class SharedLibraryCore.Interfaces.IEntityService_1 interfaceStyle;
end
Returns | Name |
---|---|
Task <T > |
Create (T entity) |
Task <T > |
Delete (T entity) |
Task <IList <T >> |
Find (Func <T , bool > expression) |
Task <T > |
Get (int entityID) |
Task <T > |
GetUnique (long entityProperty, object altKey) |
Task <T > |
Update (T entity) |
public Task<T> Create(T entity)
Type | Name | Description |
---|---|---|
T |
entity |
public Task<T> Delete(T entity)
Type | Name | Description |
---|---|---|
T |
entity |
public Task<T> Update(T entity)
Type | Name | Description |
---|---|---|
T |
entity |
public Task<T> Get(int entityID)
Type | Name | Description |
---|---|---|
int |
entityID |
public Task<T> GetUnique(long entityProperty, object altKey)
Type | Name | Description |
---|---|---|
long |
entityProperty | |
object |
altKey |
public Task<IList<T>> Find(Func<T, bool> expression)
Type | Name | Description |
---|---|---|
Func <T , bool > |
expression |
Generated with ModularDoc