-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
This does not behave as documented and expected.
If I have a entity for which I use Fluent API to define properties...
The SQL field (in my example) is varchar(255) using collation Latin1_General_100_BIN2_UTF8
in EF defined as
p.Property(prop => prop.Param).IsUnicode(false).UseCollation("Latin1_General_100_BIN2_UTF8").HasMaxLength(255);
However, unicode chars get's corrupted anyway on SQL both on Azure as on 2019 express.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: b27be469-3758-941c-0c5d-3a54b1545493
- Version Independent ID: d89924aa-668e-229c-8170-5731c3fff4c1
- Content: Collations and case sensitivity - EF Core
- Content Source: entity-framework/core/miscellaneous/collations-and-case-sensitivity.md
- Product: entity-framework
- Technology: entity-framework-core
- GitHub Login: @roji
- Microsoft Alias: avickers