Hi to All,
I’m trying our structure with the new features of v17 - especially ORDA. And I’ve discovered (and realized) a thing that makes me think. Let’s assume there is a table with customers and there are 2+ tables relating to those customers eg address and eMailAddress.
In my world of thinking: I would name the relations (and especially there to-one direction) belongsTo or belongsToCustomer. In order to write code like
and somewhere other
But this is not possible. In the current implementation of ORDA and 4D, I need to “write” code like
In my opinion, this makes the code less easy to read and makes it - perhaps in some situations - necessary, to make relation names that are not very fluently or “natural”. I understand, that relation names need to be unique in the context of a table but not in the context of a structure with 200+ tables.
Is this “subject-to-be-changed” or will this be a very long lasting behavior of ORDA/4D that is (nearly) unchangeable?
Have a nice weekend