Skip to content

Add ConfigureDataSource() to NpgsqlDbContextOptionsBuilder #1072

Add ConfigureDataSource() to NpgsqlDbContextOptionsBuilder

Add ConfigureDataSource() to NpgsqlDbContextOptionsBuilder #1072

Triggered via pull request September 14, 2024 08:32
Status Failure
Total duration 2m 46s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Analyze (csharp): test/EFCore.PG.FunctionalTests/LoggingNpgsqlTest.cs#L27
'NpgsqlDbContextOptionsBuilder.ProvideClientCertificatesCallback(ProvideClientCertificatesCallback?)' is obsolete: 'Call ConfigureDataSource() and configure the client certificates on the NpgsqlDataSourceBuilder, or pass an externally-built, pre-configured NpgsqlDataSource to UseNpgsql().'
Analyze (csharp): test/EFCore.PG.FunctionalTests/LoggingNpgsqlTest.cs#L35
'NpgsqlDbContextOptionsBuilder.ProvidePasswordCallback(ProvidePasswordCallback?)' is obsolete: 'Call ConfigureDataSource() and configure the password callback on the NpgsqlDataSourceBuilder, or pass an externally-built, pre-configured NpgsqlDataSource to UseNpgsql().'
Analyze (csharp): test/EFCore.PG.FunctionalTests/LoggingNpgsqlTest.cs#L44
'NpgsqlDbContextOptionsBuilder.RemoteCertificateValidationCallback(RemoteCertificateValidationCallback?)' is obsolete: 'Call ConfigureDataSource() and configure remote certificate validation on the NpgsqlDataSourceBuilder, or pass an externally-built, pre-configured NpgsqlDataSource to UseNpgsql().'
Analyze (csharp): test/EFCore.PG.FunctionalTests/LoggingNpgsqlTest.cs#L27
'NpgsqlDbContextOptionsBuilder.ProvideClientCertificatesCallback(ProvideClientCertificatesCallback?)' is obsolete: 'Call ConfigureDataSource() and configure the client certificates on the NpgsqlDataSourceBuilder, or pass an externally-built, pre-configured NpgsqlDataSource to UseNpgsql().'
Analyze (csharp): test/EFCore.PG.FunctionalTests/LoggingNpgsqlTest.cs#L35
'NpgsqlDbContextOptionsBuilder.ProvidePasswordCallback(ProvidePasswordCallback?)' is obsolete: 'Call ConfigureDataSource() and configure the password callback on the NpgsqlDataSourceBuilder, or pass an externally-built, pre-configured NpgsqlDataSource to UseNpgsql().'
Analyze (csharp): test/EFCore.PG.FunctionalTests/LoggingNpgsqlTest.cs#L44
'NpgsqlDbContextOptionsBuilder.RemoteCertificateValidationCallback(RemoteCertificateValidationCallback?)' is obsolete: 'Call ConfigureDataSource() and configure remote certificate validation on the NpgsqlDataSourceBuilder, or pass an externally-built, pre-configured NpgsqlDataSource to UseNpgsql().'
Analyze (csharp)
Process completed with exit code 1.