You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will remove any whitespace when coming out of or going into the database.
In EF Core 2.0 I don't think that there is an easy way to trim when data is coming from the database. You could override SaveChanges to trim going into the database.
Is there any sort of hook or interception where a char column can be trimmed so that the trailing spaces are removed?
I'm looking for a solution similar to this which is available in EF 6.1
Thanks
The text was updated successfully, but these errors were encountered: