Starting a focused issue on this specific functionality, instead of the overly broad issue #164. Will copy over comments on this, later. ### Goals - Aiming for a completely generic function, not hard wired to any specific entity. That may be overly ambitious, though ... - Focused on core entities ### Issues I've encountered, and either solved or not solved yet, including (to be updated): - Functionality to identify the primary key column - Polymorphic classes require special handling, distinct from simpler classes - What to do about the "object" attributes that point to related entities