I wonder what we should put in the "Primary Name" column when we have an "intermediary" table in a many-to-many relation, where we need other values besides just the id's of the two connected tables.
For example we have table of organizations, and another of persons, and an intermediary table of "person to organization" where we have the starting and ending dates, when a person has been in the organization and maybe even a reference to a role. Thus, we can keep history for persons; in which organization have they been, at which times and in which role, and we can easily check the current position of a person by looking at the latest entry in this intermediary table.
So we have
Table "Organization" -> field "id"
Table "Person" -> field "id"
Table "Person-to-Organization" -> fields "organization-id", "person-id", "starting-from" and "ending-to"
All of this is doable and ok, but what on earth should we come up with as the Primary Name column? How do we populate something there? We can't use Formula columns, so we'd need to just put... something, from the application code?
...yes we could do this by just having the auto-generated many-to-many relation and then perhaps a log table or some such, with the dates, but I'm just wondering about this because this is how we have used SQL Server in many cases, and the approach in Dataverse is a bit difficult for me to grasp.