Table of Contents

Class GeneralLogRepository

Namespace
Dynamicweb.Data
Assembly
Dynamicweb.Core.dll
public sealed class GeneralLogRepository : ILogEventRepository
Inheritance
GeneralLogRepository
Implements
Inherited Members

Methods

DeleteEvent(int)

Deletes the logevent, if present.

public bool DeleteEvent(int id)

Parameters

id int

Identifier of logevent

Returns

bool

wasDeleted

DeleteEvents(LogEventQuery)

Deletes logevents based upon query.

public int DeleteEvents(LogEventQuery query)

Parameters

query LogEventQuery

Query defining which logevents to delete

Returns

int

deletedLogEvents

GetEvents(LogEventQuery)

Gets logevents based upon query.

public IList<LogEvent> GetEvents(LogEventQuery query)

Parameters

query LogEventQuery

Query defining which logevents to fetch

Returns

IList<LogEvent>

logEvents

Priority()

Sets the priority among all implementations of the repositories.

public int Priority()

Returns

int

priority

ReadEvent(int)

Reads the event from repository.

public LogEvent? ReadEvent(int id)

Parameters

id int

Identifier of logevent

Returns

LogEvent

logEvent

SaveEvent(LogEvent)

Saves the event.

public int SaveEvent(LogEvent logEvent)

Parameters

logEvent LogEvent

LogEvent to be saved

Returns

int

logEventId

To top