CaptureLogBehavior.Log method

namespace: Serenity.Services   assemblySerenity.Net.Services

Logs a capture log operation

public void Log(IUnitOfWork uow, IRow old, IRow row, object userId)
parameter description
uow Unit of work
old Old entity
row New entity
userId User ID

Exceptions

exception condition
ArgumentNullException old and row is null
InvalidOperationException Capture log row type does not implement ICaptureLogRow interface

See Also