Add an Audit Trail record

Namespace: Cartella.Interfaces
Assembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
Nullable<int> AddAuditTrailItem(
	Type objectType,
	string objectID,
	ActivityType activityType,
	IUserState currentUserState
)
Visual Basic
Function AddAuditTrailItem ( _
	objectType As Type, _
	objectID As String, _
	activityType As ActivityType, _
	currentUserState As IUserState _
) As Nullable(Of Integer)
Visual C++
Nullable<int> AddAuditTrailItem(
	Type^ objectType, 
	String^ objectID, 
	ActivityType activityType, 
	IUserState^ currentUserState
)

Parameters

objectType
Type: System..::..Type
Type of object
objectID
Type: System..::..String
Object Unique ID
activityType
Type: ActivityType
Type of activity
currentUserState
Type: Cartella.Interfaces..::..IUserState

Field Value

int?

Return Value

Audit trail ID. Null if failed to create record

See Also