C# Class Cats.Services.EarlyWarning.ReliefRequisitionDetailService

Inheritance: IReliefRequisitionDetailService
ファイルを表示 Open project: edgecomputing/cats

Public Methods

Method Description
AddReliefRequisitionDetail ( ReliefRequisitionDetail reliefRequisitionDetail ) : bool
DeleteById ( int id ) : bool
DeleteReliefRequisitionDetail ( ReliefRequisitionDetail reliefRequisitionDetail ) : bool
Dispose ( ) : void
EditReliefRequisitionDetail ( ReliefRequisitionDetail reliefRequisitionDetail ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : ReliefRequisitionDetail
Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllReliefRequisitionDetail ( ) : List
GetCommodityRation ( int requisitionID, int commodityID ) : decimal
ReliefRequisitionDetailService ( IUnitOfWork unitOfWork ) : System

Method Details

AddReliefRequisitionDetail() public method

public AddReliefRequisitionDetail ( ReliefRequisitionDetail reliefRequisitionDetail ) : bool
reliefRequisitionDetail Cats.Models.ReliefRequisitionDetail
return bool

DeleteById() public method

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

DeleteReliefRequisitionDetail() public method

public DeleteReliefRequisitionDetail ( ReliefRequisitionDetail reliefRequisitionDetail ) : bool
reliefRequisitionDetail Cats.Models.ReliefRequisitionDetail
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditReliefRequisitionDetail() public method

public EditReliefRequisitionDetail ( ReliefRequisitionDetail reliefRequisitionDetail ) : bool
reliefRequisitionDetail Cats.Models.ReliefRequisitionDetail
return bool

FindBy() public method

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

FindById() public method

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

Get() public method

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

GetAllReliefRequisitionDetail() public method

public GetAllReliefRequisitionDetail ( ) : List
return List

GetCommodityRation() public method

public GetCommodityRation ( int requisitionID, int commodityID ) : decimal
requisitionID int
commodityID int
return decimal

ReliefRequisitionDetailService() public method

public ReliefRequisitionDetailService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
return System