Saves all of the contacts in the collection to the database.
Saves the Contact record, along with all of its child records, to the database

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

Syntax

C#
public bool SaveAll(
	bool validate,
	bool flowDown,
	bool useNewTransaction
)
Visual Basic
Public Function SaveAll ( _
	validate As Boolean, _
	flowDown As Boolean, _
	useNewTransaction As Boolean _
) As Boolean
Visual C++
public:
bool SaveAll(
	bool validate, 
	bool flowDown, 
	bool useNewTransaction
)

Parameters

validate
Type: System..::..Boolean
If true, validates before saving. If false, validation is assumed to have been done already.
flowDown
Type: System..::..Boolean
If true and the iMIS system is setup for flowdown, flowdown will be run. If false, no flowdown will occur. Useful when adding a large number of records that don't need flowdown or whose parents will be updated seperately
useNewTransaction
Type: System..::..Boolean
Indicates whether or not to make a new database transaction to commit or rollback the entire contact 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