C# Class Cats.Services.EarlyWarning.ProjectCodeAllocationService

Inheritance: IProjectCodeAllocationService
Datei anzeigen Open project: edgecomputing/cats

Public Methods

Method Description
AddProjectCodeAllocation ( ProjectCodeAllocation _ProjectCodeAllocationDetail, int requisitionId, bool IsLastAssignment ) : bool
AddProjectCodeAllocationDetail ( ProjectCodeAllocation _ProjectCodeAllocationDetail ) : bool
DeleteById ( int id ) : bool
DeleteProjectCodeAllocationDetail ( ProjectCodeAllocation _ProjectCodeAllocationDetail ) : bool
Dispose ( ) : void
EditProjectCodeAllocationDetail ( ProjectCodeAllocation _ProjectCodeAllocationDetail ) : bool
FindBy ( bool>.Expression predicate ) : IEnumerable
FindById ( int id ) : ProjectCodeAllocation
Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllProjectCodeAllocationDetail ( ) : IEnumerable
GetAllRequisitionsInHubAllocation ( ) : List
GetAllocatedAmountByPC ( int hubId, int pcIndex ) : int
GetAllocatedAmountBySI ( int hubId, int siIndex ) : int
GetHubAllocation ( bool>.Expression predicate ) : List
GetHubAllocationByHubID ( int status ) : List
GetHubAllocationByID ( int hubID ) : List
ProjectCodeAllocationService ( ) : System
Save ( ) : bool
Save ( ProjectCodeAllocation _projectAllocation ) : bool

Method Details

AddProjectCodeAllocation() public method

public AddProjectCodeAllocation ( ProjectCodeAllocation _ProjectCodeAllocationDetail, int requisitionId, bool IsLastAssignment ) : bool
_ProjectCodeAllocationDetail Cats.Models.ProjectCodeAllocation
requisitionId int
IsLastAssignment bool
return bool

AddProjectCodeAllocationDetail() public method

public AddProjectCodeAllocationDetail ( ProjectCodeAllocation _ProjectCodeAllocationDetail ) : bool
_ProjectCodeAllocationDetail Cats.Models.ProjectCodeAllocation
return bool

DeleteById() public method

public DeleteById ( int id ) : bool
id int
return bool

DeleteProjectCodeAllocationDetail() public method

public DeleteProjectCodeAllocationDetail ( ProjectCodeAllocation _ProjectCodeAllocationDetail ) : bool
_ProjectCodeAllocationDetail Cats.Models.ProjectCodeAllocation
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditProjectCodeAllocationDetail() public method

public EditProjectCodeAllocationDetail ( ProjectCodeAllocation _ProjectCodeAllocationDetail ) : bool
_ProjectCodeAllocationDetail Cats.Models.ProjectCodeAllocation
return bool

FindBy() public method

public FindBy ( bool>.Expression predicate ) : IEnumerable
predicate bool>.Expression
return IEnumerable

FindById() public method

public FindById ( int id ) : ProjectCodeAllocation
id int
return Cats.Models.ProjectCodeAllocation

Get() public method

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

GetAllProjectCodeAllocationDetail() public method

public GetAllProjectCodeAllocationDetail ( ) : IEnumerable
return IEnumerable

GetAllRequisitionsInHubAllocation() public method

public GetAllRequisitionsInHubAllocation ( ) : List
return List

GetAllocatedAmountByPC() public method

public GetAllocatedAmountByPC ( int hubId, int pcIndex ) : int
hubId int
pcIndex int
return int

GetAllocatedAmountBySI() public method

public GetAllocatedAmountBySI ( int hubId, int siIndex ) : int
hubId int
siIndex int
return int

GetHubAllocation() public method

public GetHubAllocation ( bool>.Expression predicate ) : List
predicate bool>.Expression
return List

GetHubAllocationByHubID() public method

public GetHubAllocationByHubID ( int status ) : List
status int
return List

GetHubAllocationByID() public method

public GetHubAllocationByID ( int hubID ) : List
hubID int
return List

ProjectCodeAllocationService() public method

public ProjectCodeAllocationService ( ) : System
return System

Save() public method

public Save ( ) : bool
return bool

Save() public method

public Save ( ProjectCodeAllocation _projectAllocation ) : bool
_projectAllocation Cats.Models.ProjectCodeAllocation
return bool