AddSqlServerEventStore|
/// Registers the SQL server based event store for the data provider.
///
- /// The .
+ /// The .
/// Delegate used to configure the SQL server event store.
/// The type of the .
- /// The which allows chaining of method calls.
- public static DbContextDataProviderBuilder AddSqlServerEventStore(
- this DbContextDataProviderBuilder builder,
+ /// The which allows chaining of method calls.
+ public static EntityFrameworkCoreDataProviderBuilder AddSqlServerEventStore(
+ this EntityFrameworkCoreDataProviderBuilder builder,
Action configureOptions)
where TDbContext : DbContext
{
diff --git a/test/AppCoreNet.EventStore.SqlServer.Tests/SqlServerEventStoreTests.cs b/test/AppCoreNet.EventStore.SqlServer.Tests/SqlServerEventStoreTests.cs
index 4a2fd32..8eff70d 100644
--- a/test/AppCoreNet.EventStore.SqlServer.Tests/SqlServerEventStoreTests.cs
+++ b/test/AppCoreNet.EventStore.SqlServer.Tests/SqlServerEventStoreTests.cs
@@ -38,7 +38,7 @@ protected override void ConfigureServices(IServiceCollection services)
services.AddDataProvider(
p =>
{
- p.AddDbContext(
+ p.AddEntityFrameworkCore(
o =>
{
o.UseSqlServer(_sqlServerTestFixture.ConnectionString);
diff --git a/test/AppCoreNet.EventStore.SqlServer.Tests/Subscriptions/SqlServerSubscriptionStoreTests.cs b/test/AppCoreNet.EventStore.SqlServer.Tests/Subscriptions/SqlServerSubscriptionStoreTests.cs
index 9a21c95..989ed21 100644
--- a/test/AppCoreNet.EventStore.SqlServer.Tests/Subscriptions/SqlServerSubscriptionStoreTests.cs
+++ b/test/AppCoreNet.EventStore.SqlServer.Tests/Subscriptions/SqlServerSubscriptionStoreTests.cs
@@ -34,7 +34,7 @@ protected override void ConfigureServices(IServiceCollection services)
services.AddDataProvider(
p =>
{
- p.AddDbContext(
+ p.AddEntityFrameworkCore(
o =>
{
o.UseSqlServer(_sqlServerTestFixture.ConnectionString);
|