메소드 | 설명 | |
---|---|---|
AddCommodity ( Commodity commodity ) : bool | ||
CommodityService ( IUnitOfWork unitOfWork ) : System | ||
DeleteById ( int id ) : bool | ||
DeleteCommodity ( Commodity commodity ) : bool | ||
Dispose ( ) : void | ||
EditCommodity ( Commodity commodity ) : bool | ||
FindBy ( bool>.Expression |
||
FindById ( int id ) : Commodity | ||
GetAllCommodity ( ) : List |
||
GetAllCommodityForReprot ( ) : List |
GetAllCommodityForReport
|
|
GetAllParents ( ) : List |
Gets all parents.
|
|
GetAllSubCommodities ( ) : List |
Gets all sub commodities.
|
|
GetAllSubCommoditiesByParantId ( int Id ) : List |
Gets all sub commodities by parant id.
|
|
GetCommodityByName ( string name ) : Commodity |
Gets the name of the commodity by.
|
|
IsCodeValid ( int CommodityID, string CommodityCode ) : bool |
Determines whether [commodity code is valid] for [the specified commodity ID].
|
|
IsNameValid ( int CommodityID, string Name ) : bool |
Determines whether name is valid for the specified commodity ID.
|
public AddCommodity ( Commodity commodity ) : bool | ||
commodity | Commodity | |
리턴 | bool |
public CommodityService ( IUnitOfWork unitOfWork ) : System | ||
unitOfWork | IUnitOfWork | |
리턴 | System |
public DeleteCommodity ( Commodity commodity ) : bool | ||
commodity | Commodity | |
리턴 | bool |
public EditCommodity ( Commodity commodity ) : bool | ||
commodity | Commodity | |
리턴 | bool |
public FindBy ( bool>.Expression |
||
predicate | bool>.Expression | |
리턴 | List |
public GetAllSubCommoditiesByParantId ( int Id ) : List |
||
Id | int | The id. |
리턴 | List |
public GetCommodityByName ( string name ) : Commodity | ||
name | string | The name. |
리턴 | Commodity |
public IsCodeValid ( int CommodityID, string CommodityCode ) : bool | ||
CommodityID | int | The commodity ID. |
CommodityCode | string | The commodity code. |
리턴 | bool |
public IsNameValid ( int CommodityID, string Name ) : bool | ||
CommodityID | int | The commodity ID. |
Name | string | The name. |
리턴 | bool |