Code2Gether-Discord/CRUDRecipeEF

Make items names stored ToLower() in our database

Ouverte

#98 ouverte le 6 avr. 2021

 (0 commentaire) (0 réaction) (0 personne assignée)C# (0 fork)auto 404
good first issuerefactor

Métriques du dépôt

Stars
 (0 étoile)
Métriques de merge PR
 (Métriques PR en attente)

Description

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()

Guide contributeur