Audits a custom action.

Namespace: MonoSoftware.LLBLGen
Assembly: MonoSoftware.LLBLGen (in MonoSoftware.LLBLGen.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public static void LogCustomAction<TAuditor>(
	IDataAccessAdapter adapter,
	List<string> messages,
	Object data
)
where TAuditor : new(), LLBLGenProGenericAuditor<TAuditInfoEntity>
Visual Basic
Public Shared Sub LogCustomAction(Of TAuditor As {New, LLBLGenProGenericAuditor(Of TAuditInfoEntity)}) ( 
	adapter As IDataAccessAdapter,
	messages As List(Of String),
	data As Object
)
Visual C++
public:
generic<typename TAuditor>
where TAuditor : gcnew(), LLBLGenProGenericAuditor<TAuditInfoEntity>
static void LogCustomAction(
	IDataAccessAdapter^ adapter, 
	List<String^>^ messages, 
	Object^ data
)
F#
static member LogCustomAction : 
        adapter : IDataAccessAdapter * 
        messages : List<string> * 
        data : Object -> unit  when 'TAuditor : new() and LLBLGenProGenericAuditor<'TAuditInfoEntity>

Parameters

adapter
Type: IDataAccessAdapter
LLBLGen IDataAccessAdapter used to store the audit logs in the database
messages
Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
Custom messages
data
Type: System..::..Object
Custom user data

Type Parameters

TAuditor
Auditor type

See Also