Saves the Product along with all of its child records to the database.

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

Syntax

C#
public virtual bool Save(
	DataServer server,
	bool useNewTransaction
)
Visual Basic
Public Overridable Function Save ( _
	server As DataServer, _
	useNewTransaction As Boolean _
) As Boolean
Visual C++
public:
virtual bool Save(
	DataServer^ server, 
	bool useNewTransaction
)

Parameters

server
Type: Asi.iBO..::..DataServer
The existing DataServer to use to do the save. Useful for bulk loading contact
useNewTransaction
Type: System..::..Boolean
Indicates whether or not to make a new database transaction to commit or rollback the entire product record at once. Set to false if this save is already wrapped in a larger transaction or if each individual database operation should be its own transaction.

Return Value

True if all goes well, false if an error occurs. If false, check the Errors property for details.

See Also