diff --git a/src/EFCore.Relational/Scaffolding/ProviderCodeGenerator.cs b/src/EFCore.Relational/Scaffolding/ProviderCodeGenerator.cs index a34acce8578..cc16ddf1e45 100644 --- a/src/EFCore.Relational/Scaffolding/ProviderCodeGenerator.cs +++ b/src/EFCore.Relational/Scaffolding/ProviderCodeGenerator.cs @@ -16,12 +16,12 @@ public abstract class ProviderCodeGenerator : IProviderConfigurationCodeGenerato /// /// The dependencies. protected ProviderCodeGenerator(ProviderCodeGeneratorDependencies dependencies) - => RelationalDependencies = Check.NotNull(dependencies, nameof(dependencies)); + => Dependencies = Check.NotNull(dependencies, nameof(dependencies)); /// /// Relational provider-specific dependencies for this service. /// - protected virtual ProviderCodeGeneratorDependencies RelationalDependencies { get; } + protected virtual ProviderCodeGeneratorDependencies Dependencies { get; } /// /// Generates a method chain used to configure provider-specific options. @@ -31,7 +31,7 @@ protected ProviderCodeGenerator(ProviderCodeGeneratorDependencies dependencies) { MethodCallCodeFragment? providerOptions = null; - foreach (var plugin in RelationalDependencies.Plugins) + foreach (var plugin in Dependencies.Plugins) { var chainedCall = plugin.GenerateProviderOptions(); if (chainedCall == null) @@ -64,7 +64,7 @@ public abstract MethodCallCodeFragment GenerateUseProvider( { MethodCallCodeFragment? contextOptions = null; - foreach (var plugin in RelationalDependencies.Plugins) + foreach (var plugin in Dependencies.Plugins) { var chainedCall = plugin.GenerateContextOptions(); if (chainedCall == null)