C# Class Cats.Services.EarlyWarning.RationDetailService

Inheritance: IRationDetailService
显示文件 Open project: edgecomputing/cats

Public Methods

Method Description
AddRationDetail ( RationDetail rationDetail ) : bool
DeleteById ( int id ) : bool
DeleteRationDetail ( RationDetail rationDetail ) : bool
Dispose ( ) : void
EditRationDetail ( RationDetail rationDetail ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : RationDetail
Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllRationDetail ( ) : List
RationDetailService ( IUnitOfWork unitOfWork ) : System

Method Details

AddRationDetail() public method

public AddRationDetail ( RationDetail rationDetail ) : bool
rationDetail Cats.Models.RationDetail
return bool

DeleteById() public method

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

DeleteRationDetail() public method

public DeleteRationDetail ( RationDetail rationDetail ) : bool
rationDetail Cats.Models.RationDetail
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditRationDetail() public method

public EditRationDetail ( RationDetail rationDetail ) : bool
rationDetail Cats.Models.RationDetail
return bool

FindBy() public method

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

FindById() public method

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

Get() public method

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

GetAllRationDetail() public method

public GetAllRationDetail ( ) : List
return List

RationDetailService() public method

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