This constructor instantiates an existing CStandardProduct from the database.

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

Syntax

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

Parameters

user
Type: Asi.iBO..::..IiMISUser
The IiMISUser object providing the security credentials of the logged in user.
productCode
Type: System..::..String
ProductCode for the desired CStandardProduct.

Exceptions

ExceptionCondition
Asi.iBO..::..ObjectNotFoundException thrown when no product with the supplied productCode is found.

See Also