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. A new database transaction will be created to commit or rollback the entire contact record at once.

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
)
Visual Basic
Public Function SaveAll ( _
	validate As Boolean, _
	flowDown As Boolean _
) As Boolean
Visual C++
public:
bool SaveAll(
	bool validate, 
	bool flowDown
)

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

Return Value

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

See Also