Otis wrote:
A table with just an identity field isn't insertable by LLBLGen Pro. Not only does it require a weird query, such a table also doesn't really make sense, because the PK is artificial (which is OK), but at the same time the only information in the entity, and thus the entity doesn't contain any information.
That is correct -- My table is used to link records together. It has no information, and the PK is artificial.
Otis wrote:
Yes, you have to add information to the entity. I might sound like a stubborn <censored> to not fix this, but I never could think of any sole reason why a table with solely 1 artificial PK field would have any reason for being there. Could you give you such a reason why the table is there, please?
I have a diagram at
A family is made up of spouses (parents), children, and facts (notes) about the family. The "Family" table only has an identity field. "Spouse" and "Child" are many-to-many tables.
The "Individual" is the main table here -- the "Family", "Spouse", and "Child" tables exist to link individuals together.