1 sharedlibrarycoreinterfaces IEntityServiceT
RaidMax edited this page 2023-05-20 22:09:21 -05:00

IEntityService< T> Public interface

Diagram

  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

Members

Methods

Public methods

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)

Details

Methods

Create

Source code

public Task<T> Create(T entity)
Arguments
Type Name Description
T entity

Delete

Source code

public Task<T> Delete(T entity)
Arguments
Type Name Description
T entity

Update

Source code

public Task<T> Update(T entity)
Arguments
Type Name Description
T entity

Get

Source code

public Task<T> Get(int entityID)
Arguments
Type Name Description
int entityID

GetUnique

Source code

public Task<T> GetUnique(long entityProperty, object altKey)
Arguments
Type Name Description
long entityProperty
object altKey

Find

Source code

public Task<IList<T>> Find(Func<T, bool> expression)
Arguments
Type Name Description
Func<T, bool> expression

Generated with ModularDoc