CaptureLogAttribute class
namespace: Serenity.Data assembly: Serenity.Net.Services
Enables capture logging for a row type.
[AttributeUsage(AttributeTargets.Class)]
public class CaptureLogAttribute : Attribute
| parameter | description |
|---|---|
| logRow | The log row type used for this row type the attribute is placed on. |
Public Members
| name | description |
|---|---|
| CaptureLogAttribute(…) | Enables capture logging for a row type. |
| LogRow { get; } | Gets the log row type. |
| MappedIdField { get; set; } | Gets or sets the mapped ID field. It is tried to be automatically determined if not specified. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | logRow is null. |
Remarks
Initializes a new instance of the attribute.
See Also
- Source: CaptureLogAttribute.cs