C# Class DRMFSS.BLL.Services.LedgerService

Inheritance: ILedgerService
显示文件 Open project: edgecomputing/cats-hub-module

Public Methods

Method Description
AddLedger ( Ledger entity ) : bool
DeleteById ( int id ) : bool
DeleteLedger ( Ledger entity ) : bool
Dispose ( ) : void
EditLedger ( Ledger entity ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Ledger
GetAllLedger ( ) : List
LedgerService ( IUnitOfWork unitOfWork ) : System

Method Details

AddLedger() public method

public AddLedger ( Ledger entity ) : bool
entity Ledger
return bool

DeleteById() public method

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

DeleteLedger() public method

public DeleteLedger ( Ledger entity ) : bool
entity Ledger
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditLedger() public method

public EditLedger ( Ledger entity ) : bool
entity Ledger
return bool

FindBy() public method

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

FindById() public method

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

GetAllLedger() public method

public GetAllLedger ( ) : List
return List

LedgerService() public method

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