Skip to content

Commit

Permalink
Remove SqlServerOptions
Browse files Browse the repository at this point in the history
Resolves #11660
  • Loading branch information
smitpatel committed Nov 23, 2019
1 parent 3d94a7d commit 7a71eb0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 75 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public static IServiceCollection AddEntityFrameworkSqlServer([NotNull] this ISer
.TryAdd<IRelationalDatabaseCreator, SqlServerDatabaseCreator>()
.TryAdd<IHistoryRepository, SqlServerHistoryRepository>()
.TryAdd<IExecutionStrategyFactory, SqlServerExecutionStrategyFactory>()
.TryAdd<ISingletonOptions, ISqlServerOptions>(p => p.GetService<ISqlServerOptions>())

// New Query Pipeline
.TryAdd<IMethodCallTranslatorProvider, SqlServerMethodCallTranslatorProvider>()
Expand All @@ -80,7 +79,6 @@ public static IServiceCollection AddEntityFrameworkSqlServer([NotNull] this ISer
.TryAddProviderSpecificServices(
b => b
.TryAddSingleton<ISqlServerValueGeneratorCache, SqlServerValueGeneratorCache>()
.TryAddSingleton<ISqlServerOptions, SqlServerOptions>()
.TryAddSingleton<ISqlServerUpdateSqlGenerator, SqlServerUpdateSqlGenerator>()
.TryAddSingleton<ISqlServerSequenceValueGeneratorFactory, SqlServerSequenceValueGeneratorFactory>()
.TryAddScoped<ISqlServerConnection, SqlServerConnection>());
Expand Down
25 changes: 0 additions & 25 deletions src/EFCore.SqlServer/Infrastructure/Internal/ISqlServerOptions.cs

This file was deleted.

48 changes: 0 additions & 48 deletions src/EFCore.SqlServer/Internal/SqlServerOptions.cs

This file was deleted.

0 comments on commit 7a71eb0

Please sign in to comment.