Saves the Order along with all of its child records to the database using the supplied DataServer object. A new transaction is used if useNewTransaction is true.

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

Syntax

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

Parameters

server
Type: Asi.iBO..::.DataServer
The existing DataServer to use to do the save. A new database transaction is created to commit or rollback the entire order record at once.
useNewTransaction
Type: System..::.Boolean
Indicates whether or not to make a new database transaction to commit or rollback the entire order record (including child records) 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