C# Class EA.Iws.DataAccess.Repositories.MovementRepository

Inheritance: IMovementRepository
Afficher le fichier Open project: EnvironmentAgency/prsd-iws

Méthodes publiques

Méthode Description
Add ( Movement movement ) : void
DeleteById ( System.Guid movementId ) : Task
GetActiveMovements ( System.Guid notificationId ) : Task>
GetAllMovements ( System.Guid notificationId ) : Task>
GetById ( System.Guid movementId ) : Task
GetByNumberOrDefault ( int movementNumber, System.Guid notificationId ) : Task
GetLatestMovementNumber ( System.Guid notificationId ) : Task
GetMovementsByIds ( System.Guid notificationId, IEnumerable movementIds ) : Task>
GetMovementsByStatus ( System.Guid notificationId, MovementStatus status ) : Task>
MovementRepository ( IwsContext context, INotificationApplicationAuthorization notificationAuthorization ) : System

Method Details

Add() public méthode

public Add ( Movement movement ) : void
movement Movement
Résultat void

DeleteById() public méthode

public DeleteById ( System.Guid movementId ) : Task
movementId System.Guid
Résultat Task

GetActiveMovements() public méthode

public GetActiveMovements ( System.Guid notificationId ) : Task>
notificationId System.Guid
Résultat Task>

GetAllMovements() public méthode

public GetAllMovements ( System.Guid notificationId ) : Task>
notificationId System.Guid
Résultat Task>

GetById() public méthode

public GetById ( System.Guid movementId ) : Task
movementId System.Guid
Résultat Task

GetByNumberOrDefault() public méthode

public GetByNumberOrDefault ( int movementNumber, System.Guid notificationId ) : Task
movementNumber int
notificationId System.Guid
Résultat Task

GetLatestMovementNumber() public méthode

public GetLatestMovementNumber ( System.Guid notificationId ) : Task
notificationId System.Guid
Résultat Task

GetMovementsByIds() public méthode

public GetMovementsByIds ( System.Guid notificationId, IEnumerable movementIds ) : Task>
notificationId System.Guid
movementIds IEnumerable
Résultat Task>

GetMovementsByStatus() public méthode

public GetMovementsByStatus ( System.Guid notificationId, MovementStatus status ) : Task>
notificationId System.Guid
status MovementStatus
Résultat Task>

MovementRepository() public méthode

public MovementRepository ( IwsContext context, INotificationApplicationAuthorization notificationAuthorization ) : System
context IwsContext
notificationAuthorization INotificationApplicationAuthorization
Résultat System