npgsql / doc

Documentation site for npgsql
http://npgsql.org/
26 stars 74 forks source link

Small error on collations docs #303

Closed tpoiesz closed 1 year ago

tpoiesz commented 1 year ago

On https://www.npgsql.org/efcore/misc/collations-and-case-sensitivity.html?tabs=data-annotations it tells us that to use a collation on the database level we need to use HasCollation:

image

However, I believe HasCollation is used to create a collation, and this code snippet should use UseCollation.

roji commented 1 year ago

Well-spotted, thanks!