I am working with a legacy MSSQL database that is using Char instead of Varchar for its string fields. But when I bring the data into my Blazor application using Entity Framework Core, my strings are all padded with spaces which causes all sorts of issues.
Is there a way to have this conversion happen automatically or is there an annotation I can add to my EF Core model class string fields to do this conversion?