The procedure to insert an audit trail record. Must be overridden by actual db implementation

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

Syntax

C#
Nullable<int> AddAuditTrailItemProcedure(
	string objectName,
	string objectID,
	ActivityType activityType,
	IUser user
)
Visual Basic
Function AddAuditTrailItemProcedure ( _
	objectName As String, _
	objectID As String, _
	activityType As ActivityType, _
	user As IUser _
) As Nullable(Of Integer)
Visual C++
Nullable<int> AddAuditTrailItemProcedure(
	String^ objectName, 
	String^ objectID, 
	ActivityType activityType, 
	IUser^ user
)

Parameters

objectName
Type: System..::..String
Name of the object being manipulated
objectID
Type: System..::..String
Object Unique ID
activityType
Type: ActivityType
Type of activity
user
Type: Cartella.Interfaces..::..IUser
User performing the activity

Field Value

int?

Return Value

Audit trail ID. Null if failed to create record

See Also