C# 클래스 Cats.Services.Hub.DispatchService

상속: IDispatchService
파일 보기 프로젝트 열기: edgecomputing/cats 1 사용 예제들

공개 메소드들

메소드 설명
AddDispatch ( Dispatch dispatch ) : bool
ByHubIdAndAllocationIDetached ( int hubId, System.Guid dispatchAllocationId ) : List
ByHubIdAndOtherAllocationIDetached ( int hubId, System.Guid OtherDispatchAllocationId ) : List
CreateDispatchFromDispatchAllocation ( System.Guid dispatchAllocationId, decimal quantityInUnit ) : DispatchViewModel
DeleteById ( int id ) : bool
DeleteDispatch ( Dispatch dispatch ) : bool
DispatchService ( IUnitOfWork unitOfWork ) : System
Dispose ( ) : void
EditDispatch ( Dispatch dispatch ) : bool
FindBy ( bool>.Expression predicate ) : List
FindByAllocationId ( System id ) : Dispatch
FindById ( System id ) : Dispatch
FindById ( int id ) : Dispatch
Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllDispatch ( ) : List
GetAvailableCommodities ( string SINumber, int hubID ) : List

Gets the available commodities.

GetDispatchByGIN ( string ginNo ) : Dispatch
GetDispatchTransaction ( System.Guid dispatchId ) : Transaction

Gets the dispatch transaction.

GetFDPBalance ( int FDPID, string RequisitionNo ) : FDPBalance

Gets the FDP balance.

GetFDPDispatch ( int transportOrderId, int fdpId ) : decimal
GetNewTranaction ( Transaction transaction ) : Transaction
RejectToHubs ( Dispatch dispatch ) : bool

메소드 상세

AddDispatch() 공개 메소드

public AddDispatch ( Dispatch dispatch ) : bool
dispatch Cats.Models.Hubs.Dispatch
리턴 bool

ByHubIdAndAllocationIDetached() 공개 메소드

public ByHubIdAndAllocationIDetached ( int hubId, System.Guid dispatchAllocationId ) : List
hubId int
dispatchAllocationId System.Guid
리턴 List

ByHubIdAndOtherAllocationIDetached() 공개 메소드

public ByHubIdAndOtherAllocationIDetached ( int hubId, System.Guid OtherDispatchAllocationId ) : List
hubId int
OtherDispatchAllocationId System.Guid
리턴 List

CreateDispatchFromDispatchAllocation() 공개 메소드

public CreateDispatchFromDispatchAllocation ( System.Guid dispatchAllocationId, decimal quantityInUnit ) : DispatchViewModel
dispatchAllocationId System.Guid
quantityInUnit decimal
리턴 Cats.Models.Hubs.DispatchViewModel

DeleteById() 공개 메소드

public DeleteById ( int id ) : bool
id int
리턴 bool

DeleteDispatch() 공개 메소드

public DeleteDispatch ( Dispatch dispatch ) : bool
dispatch Cats.Models.Hubs.Dispatch
리턴 bool

DispatchService() 공개 메소드

public DispatchService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EditDispatch() 공개 메소드

public EditDispatch ( Dispatch dispatch ) : bool
dispatch Cats.Models.Hubs.Dispatch
리턴 bool

FindBy() 공개 메소드

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
리턴 List

FindByAllocationId() 공개 메소드

public FindByAllocationId ( System id ) : Dispatch
id System
리턴 Cats.Models.Hubs.Dispatch

FindById() 공개 메소드

public FindById ( System id ) : Dispatch
id System
리턴 Cats.Models.Hubs.Dispatch

FindById() 공개 메소드

public FindById ( int id ) : Dispatch
id int
리턴 Cats.Models.Hubs.Dispatch

Get() 공개 메소드

public Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.Expression
orderBy Func
includeProperties string
리턴 IEnumerable

GetAllDispatch() 공개 메소드

public GetAllDispatch ( ) : List
리턴 List

GetAvailableCommodities() 공개 메소드

Gets the available commodities.
public GetAvailableCommodities ( string SINumber, int hubID ) : List
SINumber string The SI number.
hubID int
리턴 List

GetDispatchByGIN() 공개 메소드

public GetDispatchByGIN ( string ginNo ) : Dispatch
ginNo string
리턴 Cats.Models.Hubs.Dispatch

GetDispatchTransaction() 공개 메소드

Gets the dispatch transaction.
public GetDispatchTransaction ( System.Guid dispatchId ) : Transaction
dispatchId System.Guid The dispatch id.
리턴 Cats.Models.Hubs.Transaction

GetFDPBalance() 공개 메소드

Gets the FDP balance.
public GetFDPBalance ( int FDPID, string RequisitionNo ) : FDPBalance
FDPID int The FDPID.
RequisitionNo string
리턴 Cats.Models.Hubs.FDPBalance

GetFDPDispatch() 공개 메소드

public GetFDPDispatch ( int transportOrderId, int fdpId ) : decimal
transportOrderId int
fdpId int
리턴 decimal

GetNewTranaction() 공개 메소드

public GetNewTranaction ( Transaction transaction ) : Transaction
transaction Cats.Models.Hubs.Transaction
리턴 Cats.Models.Hubs.Transaction

RejectToHubs() 공개 메소드

public RejectToHubs ( Dispatch dispatch ) : bool
dispatch Cats.Models.Hubs.Dispatch
리턴 bool