SqlErrorFormatOptions class
namespace: Serenity.Services.SqlErrors assembly: Serenity.Net.Services
Options that customize how a SqlErrorInfo is formatted as text.
public class SqlErrorFormatOptions
Public Members
| name | description |
|---|---|
| SqlErrorFormatOptions() | The default constructor. |
| ErrorMessage { get; set; } | Gets or sets a custom local text key or literal error message. When it contains format placeholders, the table name and field name are passed as the arguments. |
| FieldName { get; set; } | Gets or sets the display name / title of the field involved, if known. |
| IsDelete { get; } | Gets a value indicating whether the operation is a delete or undelete. |
| Operation { get; set; } | Gets or sets the operation that caused the error. |
| RowType { get; set; } | Gets or sets the row type involved, if any. |
| TableName { get; set; } | Gets or sets the name of the table of the row involved, if known. |
See Also
- Source: SqlErrorFormatOptions.cs