use Add convention example instead of remove in the article entry

pull/14860/head
İsmail ÇAĞDAŞ 3 years ago
parent 810d7fd62c
commit e8af4cc177

@ -11,7 +11,7 @@ If you want to add, remove or replace a convention, you need to override `Config
```csharp
protected override void ConfigureConventions(ModelConfigurationBuilder configurationBuilder)
{
configurationBuilder.Conventions.Remove(typeof(MyCustomConvention));
configurationBuilder.Conventions.Add(_ => new MyCustomConvention());
}
```

Loading…
Cancel
Save