C# Class DRMFSS.BLL.Services.StoreService

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

Public Methods

Method Description
AddStore ( Store store ) : bool
DeleteByID ( int id ) : bool
DeleteById ( int id ) : bool
DeleteStore ( Store store ) : bool
EditStore ( Store store ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Store
FindCommodityById ( int id ) : Commodity
FindHubById ( int HubId ) : Hub
GetAllByHUbs ( List HubIds ) : List
GetAllStore ( ) : List
GetBinCard ( int hubID, int StoreID, int CommodityID, string ProjectID ) : IEnumerable
GetStacksByStoreId ( int StoreId ) : List
GetStacksByToStoreIdFromStoreIdFromStack ( int ToStoreId, int FromStoreId, int FromStackId ) : List
GetStacksWithSIBalance ( int storeId, int siNumber ) : List
GetStoreByHub ( int hubId ) : List
GetStoresWithBalanceOfCommodity ( int parentCommodityId, int hubId ) : List
GetStoresWithBalanceOfCommodityAndSINumber ( int parentCommodityId, int SINumber, int hubId ) : List
StoreService ( IUnitOfWork unitOfWork ) : System

Method Details

AddStore() public method

public AddStore ( Store store ) : bool
store Store
return bool

DeleteByID() public method

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

DeleteById() public method

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

DeleteStore() public method

public DeleteStore ( Store store ) : bool
store Store
return bool

EditStore() public method

public EditStore ( Store store ) : bool
store Store
return bool

FindBy() public method

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

FindById() public method

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

FindCommodityById() public method

public FindCommodityById ( int id ) : Commodity
id int
return Commodity

FindHubById() public method

public FindHubById ( int HubId ) : Hub
HubId int
return Hub

GetAllByHUbs() public method

public GetAllByHUbs ( List HubIds ) : List
HubIds List
return List

GetAllStore() public method

public GetAllStore ( ) : List
return List

GetBinCard() public method

public GetBinCard ( int hubID, int StoreID, int CommodityID, string ProjectID ) : IEnumerable
hubID int
StoreID int
CommodityID int
ProjectID string
return IEnumerable

GetStacksByStoreId() public method

public GetStacksByStoreId ( int StoreId ) : List
StoreId int
return List

GetStacksByToStoreIdFromStoreIdFromStack() public method

public GetStacksByToStoreIdFromStoreIdFromStack ( int ToStoreId, int FromStoreId, int FromStackId ) : List
ToStoreId int
FromStoreId int
FromStackId int
return List

GetStacksWithSIBalance() public method

public GetStacksWithSIBalance ( int storeId, int siNumber ) : List
storeId int
siNumber int
return List

GetStoreByHub() public method

public GetStoreByHub ( int hubId ) : List
hubId int
return List

GetStoresWithBalanceOfCommodity() public method

public GetStoresWithBalanceOfCommodity ( int parentCommodityId, int hubId ) : List
parentCommodityId int
hubId int
return List

GetStoresWithBalanceOfCommodityAndSINumber() public method

public GetStoresWithBalanceOfCommodityAndSINumber ( int parentCommodityId, int SINumber, int hubId ) : List
parentCommodityId int
SINumber int
hubId int
return List

StoreService() public method

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