dotnet / dotnet/EntityFramework.Docs
Bulk-configuring a value converter sample code typo
- Dominant language
- Mermaid
- Stars
- 1.7k
- Forks
- 2k
- Avg merge
- 7d 23h
- Merged PRs (30d)
- 16
Description
### Type of issue
Typo
### Description
In the usage example for the `Bulk-configuring a value converter` the code contains `.HaveConversion<...` instead of `.HasConversion<...`.
The code with the typo:
```c#
protected override void ConfigureConventions(ModelConfigurationBuilder configurationBuilder)
{
configurationBuilder
.Properties()
.HaveConversion();
}
```
The correct version:
```c#
protected override void ConfigureConventions(ModelConfigurationBuilder configurationBuilder)
{
configurationBuilder
.Properties()
.HasConversion();
}
```
### Page URL
https://learn.microsoft.com/en-us/ef/core/modeling/value-conversions?tabs=data-annotations
### Content source URL
https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/modeling/value-conversions.md
### Document Version Independent Id
a26156d1-a4b3-7df0-e63e-b8e9f804abbf
### Article author
@ajcvickers
Contributor guide
Assessment
This issue has not been assessed yet.