Skip to main content
Source: AL0122DuckDbTableMustBePartialAnalyzer.cs

Description

The DuckDbInsertGenerator source generator creates additional methods (AddParameters, MapFromReader, BuildMultiRowInsertSql) on types marked with [DuckDbTable]. The type must be partial so the generator can add these members.

Properties

  • Category: Design
  • Severity: Error
  • Enabled by default: True
  • Code fix available: True

Configuration

dotnet_diagnostic.AL0122.severity = error