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.ActivitiesAssembly: CMS.Activities (in CMS.Activities.dll) Version: 10.0.0
Syntax[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:
Int32ID 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