LgChangeViewer
LgChangeViewer displays the details of a Tracked Changes history entry: the action performed, the affected table, and a comparison of before/after values. It is the component used by the framework's built-in history pages; it can be reused to build a custom audit screen.
Example
<LgChangeViewer TableName="@_change.TableName"
Action="@_change.Action"
Before="@_change.PreviousValues"
After="@_change.NewValues" />
Parameters
| Parameter | Type | Description |
|---|---|---|
Action | TrackedChangeAction | Tracked action (create, modify, delete, …). |
TableName | string | Table affected by the change. |
Before | string | Values before the change. |
After | string | Values after the change. |
Complete reference
See also
Enabling change tracking: Tracked Changes.