C# Class DRMFSS.BLL.Services.DetailService

Inheritance: IDetailService
Datei anzeigen Open project: edgecomputing/cats-hub-module

Public Methods

Method Description
AddDetail ( Detail detail ) : bool
DeleteById ( int id ) : bool
DeleteDetail ( Detail detail ) : bool
DetailService ( ) : System
Dispose ( ) : void
EditDetail ( Detail detail ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Detail
GetAllDetail ( ) : List
GetByMasterID ( int masterId ) : IQueryable

Gets the queriable list of details by master ID.

GetReasonByMaster ( int masterId ) : List

Method Details

AddDetail() public method

public AddDetail ( Detail detail ) : bool
detail Detail
return bool

DeleteById() public method

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

DeleteDetail() public method

public DeleteDetail ( Detail detail ) : bool
detail Detail
return bool

DetailService() public method

public DetailService ( ) : System
return System

Dispose() public method

public Dispose ( ) : void
return void

EditDetail() public method

public EditDetail ( Detail detail ) : bool
detail Detail
return bool

FindBy() public method

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

FindById() public method

public FindById ( int id ) : Detail
id int
return Detail

GetAllDetail() public method

public GetAllDetail ( ) : List
return List

GetByMasterID() public method

Gets the queriable list of details by master ID.
public GetByMasterID ( int masterId ) : IQueryable
masterId int The master id.
return IQueryable

GetReasonByMaster() public method

public GetReasonByMaster ( int masterId ) : List
masterId int
return List