SourceGeneratorDataProviderConfiguration

Classes > DataProvider > SourceGeneratorDataProviderConfiguration

Configuration for the DataProvider source generator when reading DataProvider.json at compile time.

public class SourceGeneratorDataProviderConfiguration

Properties

ConnectionString

public string ConnectionString { get; set; }

Gets or sets the database connection string used at compile time to fetch metadata.

Queries

public ImmutableList<QueryConfigItem> Queries { get; set; }

Gets or sets the list of queries to generate from.

Tables

public ImmutableList<TableConfigItem> Tables { get; set; }

Gets or sets the list of tables to generate operations for.