Code2Gether-Discord/CRUDRecipeEF

Make items names stored ToLower() in our database

Aperta

#98 aperta il 6 apr 2021

 (0 commenti) (0 reazioni) (0 assegnatari)C# (0 fork)auto 404
good first issuerefactor

Metriche repository

Star
 (0 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

The reason for this is because it will become easier to compare incoming names with the one inside the db if we just store them all ToLower() while the user can input whatever they want but we compare their input ToLower()

When setting an entities name, add the ToLower() on top of the Trim()

Guida contributor