C# Class Cats.Services.EarlyWarning.CommodityTypeService

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

Public Methods

Method Description
AddCommodityType ( CommodityType commodityType ) : bool
CommodityTypeService ( IUnitOfWork unitOfWork ) : System
DeleteById ( int id ) : bool
DeleteCommodityType ( CommodityType commodityType ) : bool
Dispose ( ) : void
EditCommodityType ( CommodityType commodityType ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : CommodityType
GetAllCommodityType ( ) : List

Method Details

AddCommodityType() public method

public AddCommodityType ( CommodityType commodityType ) : bool
commodityType Cats.Models.CommodityType
return bool

CommodityTypeService() public method

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

DeleteById() public method

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

DeleteCommodityType() public method

public DeleteCommodityType ( CommodityType commodityType ) : bool
commodityType Cats.Models.CommodityType
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditCommodityType() public method

public EditCommodityType ( CommodityType commodityType ) : bool
commodityType Cats.Models.CommodityType
return bool

FindBy() public method

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

FindById() public method

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

GetAllCommodityType() public method

public GetAllCommodityType ( ) : List
return List