gaepdit / complaint-tracking

Complaint Tracking System
The Unlicense
1 stars 3 forks source link

Address the "unlimited string length" code inspection warning #685

Closed dougwaldron closed 7 months ago

dougwaldron commented 8 months ago

See: Code Inspection: Possible performance issues caused by unlimited string length | JetBrains Rider Documentation

dougwaldron commented 7 months ago

EntityFramework.ModelValidation.UnlimitedStringLength

Emitted for:

But also consider:

dougwaldron commented 7 months ago

EmailLog will be fixed when #681 is implemented.

dougwaldron commented 7 months ago

Useful query:

select top 3 Id,
             len(ComplaintNature) as Length,
             ComplaintNature
from Complaints
order by len(ComplaintNature) desc;