> There’s a bit of a controversy among designers when it comes to choosing singular or plural forms for entity, table, and view names. Many purists defend the use of the singular, e.g. Employee, Customer, Address, etc. Their argument is that an entity is a single thing, not a set of things. However, when a model goes from logical to physical and the entity is transformed into a table, it ceases to be a single object to become a container for many instances of an object. If you are making a wooden box for your kid’s toys, would you label it "Toy" or "Toys"? Exactly.
I would call it a "toybox". Same thing with socks. You don't call their storage space a "socks drawer". It's a "sock drawer"
The only thing that really matters with naming is consistency anyways
1 comment
[ 98.8 ms ] story [ 1130 ms ] threadI would call it a "toybox". Same thing with socks. You don't call their storage space a "socks drawer". It's a "sock drawer"
The only thing that really matters with naming is consistency anyways