79219988

Date: 2024-11-24 11:58:00
Score: 2.5
Natty:
Report link

I think the problem is in .HasDefaultValue(1). Maybe EF recognizes the value 0 as uninitialized for the int type. Why not make this property a bool type?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Dmitry