Skip to content

Commit

Permalink
Fix up wording when discussing MigrationBuilder.ActiveProvider (#2448)
Browse files Browse the repository at this point in the history
  • Loading branch information
serpent5 committed Jun 15, 2020
1 parent 93a3126 commit eb88a51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Id = table.Column<int>(nullable: false)
.Annotation("Sqlite:Autoincrement", true),
```

If operations can only be applied on one provider (or they're differently between providers), use the `ActiveProvider` property to tell which provider is active.
If operations can be applied only for one provider, or they're different between providers, use the `ActiveProvider` property to determine which provider is active:

``` csharp
if (migrationBuilder.ActiveProvider == "Microsoft.EntityFrameworkCore.SqlServer")
Expand Down

0 comments on commit eb88a51

Please sign in to comment.