This constructor instantiates an existing CProductCategory from the database.

Namespace: Asi.iBO.Commerce
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public CProductCategory(
	IiMISUser user,
	string productCategoryCode
)
Visual Basic
Public Sub New ( _
	user As IiMISUser, _
	productCategoryCode As String _
)
Visual C++
public:
CProductCategory(
	IiMISUser^ user, 
	String^ productCategoryCode
)

Parameters

user
Type: Asi.iBO..::..IiMISUser
The IiMISUser object providing the security credentials of the logged in user.
productCategoryCode
Type: System..::..String
The key to the CProductCategory to be instantiated

Exceptions

ExceptionCondition
Asi.iBO..::..ObjectNotFoundException thrown when no CProductCategory with the supplied productCategoryCode is found.

See Also