C# Class Cats.Services.Hub.ReceiveService

Inheritance: IReceiveService
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode Description
AddReceive ( Receive entity ) : bool
ByHubId ( int hubId ) : List

Bies the hub id.

ByHubIdAndAllocationIDetached ( int hubId, System.Guid receiptAllocationId ) : List
DeleteById ( int id ) : bool
DeleteReceive ( Receive entity ) : bool
Dispose ( ) : void
EditReceive ( Receive entity ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( System id ) : Receive
FindById ( int id ) : Receive
GetALlPorts ( ) : List

Return All Ports

GetAllReceive ( ) : List
GetAllocationStatus ( System.Guid receiptAllocationId ) : AllocationStatusViewModel
IsGrnUnique ( string grn ) : bool
IsReceiveExcedeAllocation ( ReceiveDetailNewViewModel receiveDetailNewViewModel, System.Guid receiptAllocationId ) : bool
IsReceiveGreaterThanSent ( ReceiveDetailNewViewModel receiveDetailNewViewModel ) : bool
ReceiptAllocationToReceive ( ReceiptAllocation receiptAllocation ) : ReceiveNewViewModel
ReceiveService ( IUnitOfWork unitOfWork ) : System
Update ( List inserted, List updated, List deleted, Receive receive ) : void

Method Details

AddReceive() public méthode

public AddReceive ( Receive entity ) : bool
entity Cats.Models.Hubs.Receive
Résultat bool

ByHubId() public méthode

Bies the hub id.
public ByHubId ( int hubId ) : List
hubId int The hub id.
Résultat List

ByHubIdAndAllocationIDetached() public méthode

public ByHubIdAndAllocationIDetached ( int hubId, System.Guid receiptAllocationId ) : List
hubId int
receiptAllocationId System.Guid
Résultat List

DeleteById() public méthode

public DeleteById ( int id ) : bool
id int
Résultat bool

DeleteReceive() public méthode

public DeleteReceive ( Receive entity ) : bool
entity Cats.Models.Hubs.Receive
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditReceive() public méthode

public EditReceive ( Receive entity ) : bool
entity Cats.Models.Hubs.Receive
Résultat bool

FindBy() public méthode

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
Résultat List

FindById() public méthode

public FindById ( System id ) : Receive
id System
Résultat Cats.Models.Hubs.Receive

FindById() public méthode

public FindById ( int id ) : Receive
id int
Résultat Cats.Models.Hubs.Receive

GetALlPorts() public méthode

Return All Ports
public GetALlPorts ( ) : List
Résultat List

GetAllReceive() public méthode

public GetAllReceive ( ) : List
Résultat List

GetAllocationStatus() public méthode

public GetAllocationStatus ( System.Guid receiptAllocationId ) : AllocationStatusViewModel
receiptAllocationId System.Guid
Résultat Cats.Models.Hubs.ViewModels.AllocationStatusViewModel

IsGrnUnique() public méthode

public IsGrnUnique ( string grn ) : bool
grn string
Résultat bool

IsReceiveExcedeAllocation() public méthode

public IsReceiveExcedeAllocation ( ReceiveDetailNewViewModel receiveDetailNewViewModel, System.Guid receiptAllocationId ) : bool
receiveDetailNewViewModel Cats.Models.Hubs.ViewModels.ReceiveDetailNewViewModel
receiptAllocationId System.Guid
Résultat bool

IsReceiveGreaterThanSent() public méthode

public IsReceiveGreaterThanSent ( ReceiveDetailNewViewModel receiveDetailNewViewModel ) : bool
receiveDetailNewViewModel Cats.Models.Hubs.ViewModels.ReceiveDetailNewViewModel
Résultat bool

ReceiptAllocationToReceive() public méthode

public ReceiptAllocationToReceive ( ReceiptAllocation receiptAllocation ) : ReceiveNewViewModel
receiptAllocation Cats.Models.Hubs.ReceiptAllocation
Résultat Cats.Models.Hubs.ViewModels.ReceiveNewViewModel

ReceiveService() public méthode

public ReceiveService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
Résultat System

Update() public méthode

public Update ( List inserted, List updated, List deleted, Receive receive ) : void
inserted List
updated List
deleted List
receive Cats.Models.Hubs.Receive
Résultat void