Click or drag to resize
ActivityInfoProviderBulkInsertActivityData Method

Note: This API is now obsolete.

Inserts multiple log records to the database. Returns the first inserted activity ID. Other activities in the given list will have subsequent IDs.

Namespace: CMS.Activities
Assembly: CMS.Activities (in CMS.Activities.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use BulkInsertAndGetLastID method instead")]
public static int BulkInsertActivityData(
	IList<ActivityData> activities
)

Parameters

activities
Type: System.Collections.GenericIListActivityData
Activity records to insert

Return Value

Type: Int32
ID of the first activity which was created or -1 when no activity was created
Remarks
This method does not touch cache keys for the inserted activity ("om.activity|all", "om.contact|..|children", etc.) automatically. It has to be done by caller if needed.
See Also