Skip to main content

SqlDiagnostic

  • Namespace: PPDS.Dataverse.Sql.Intellisense
  • Assembly: PPDS.Dataverse
  • Kind: Record
  • Implements: IEquatable<SqlDiagnostic>

Summary​

A diagnostic message for a region of SQL text (error, warning, or info).

Members​

Constructors​

SqlDiagnostic(int Start, int Length, SqlDiagnosticSeverity Severity, string Message)​

SqlDiagnostic(int Start, int Length, SqlDiagnosticSeverity Severity, string Message)

A diagnostic message for a region of SQL text (error, warning, or info).

  • Param Start: Character offset where the diagnostic starts.

  • Param Length: Number of characters the diagnostic spans.

  • Param Severity: The severity of the diagnostic.

  • Param Message: Human-readable description of the issue.

Properties​

Length​

int Length { get; set; }

Number of characters the diagnostic spans.

Message​

string Message { get; set; }

Human-readable description of the issue.

Severity​

SqlDiagnosticSeverity Severity { get; set; }

The severity of the diagnostic.

Start​

int Start { get; set; }

Character offset where the diagnostic starts.