Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Will need to refactor ObjectNameGenerator API, mainly focusing on relationship name generation. The new API will generate both obj and db relationship names in a single method. We will no longer distinguish between the two, as DbRelationship name does not correspond to any actual name found in the database, and we might as well use the object layer name. The main visible change in the algorithm is that ObjRelationship name will be based on DbRelationship semantics, not on DbRelationship name.
In the future if this proves to be too limiting, we might split a separate DbRelationship name generator. For now it will allow to avoid passing ExportedKey object to the strategy, and make it private.
As a part of this task we will remove LegacyObjectNameGenerator that uses different assumptions.