Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Documentation/integration/mssql.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void ConfigureServices(IServiceCollection services)
.New
.SetConnectionString(@"Server=.\SQLEXPRESS;Database=MyApp;User Id=sa;Password=Pa55w0rd!"))
.UseMssqlEventStore()
.UseMssqlSnapshotStore()
.UseMsSqlSnapshotStore()
.UseMssqlReadModel<UserReadModel>()
.UseMssqlReadModel<UserNicknameReadModel, UserNicknameReadModelLocator>();
});
Expand Down Expand Up @@ -80,12 +80,12 @@ Run this during deployment or application startup. The migrator is idempotent, s

## Snapshot store

Snapshot persistence reduces load time for long-running aggregates. Enable it with `.UseMssqlSnapshotStore()` after calling `ConfigureMsSql`.
Snapshot persistence reduces load time for long-running aggregates. Enable it with `.UseMsSqlSnapshotStore()` after calling `ConfigureMsSql`.

```csharp
services.AddEventFlow(o =>
o.ConfigureMsSql(config)
.UseMssqlSnapshotStore());
.UseMsSqlSnapshotStore());
```

Provision the schema using the bundled scripts.
Expand Down
Loading