Click or drag to resize

CustomHooksOnBeforeEntitySave Method

This method is invoked before any type of Ingeniux CMS CSAPI Entity object is saved

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux_API_Extensions_Development_Harness (in Ingeniux_API_Extensions_Development_Harness.dll) Version: 10.3.169
Syntax
C#
public void OnBeforeEntitySave(
	IEntity entity,
	IUserWriteSession session
)

Parameters

entity
Type: IEntity
The entity to be saved
session
Type: IUserWriteSession
The session that must be used to perform tasks on additional objects

Implements

ICustomHooks.OnBeforeEntitySave(IEntity, IUserWriteSession)
Remarks
When this action is invoked, the objects involved have yet to be saved to the Content Store.
See Also