Skip to content

SqlErrorExtractOptions class

namespace: Serenity.Services.SqlErrors   assembly: Serenity.Net.Services

Options for Extract.

public class SqlErrorExtractOptions

Public Members

name description
SqlErrorExtractOptions() The default constructor.
ServerType { get; set; } Gets or sets the server type name, matching ServerType (e.g. SqlServer, Postgres). Typically taken from the current connection's dialect. When specified and recognized, it takes precedence over the type name based inference done by the extractor, which can fail for wrapped, mocked or custom provider exceptions.

See Also