View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003162 | CaseTalk Modeler | Generation (SQL, XML, etc) | public | 2021-10-16 19:35 | 2021-10-18 11:23 |
Reporter | BCP Software | Assigned To | BCP Software | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Target Version | 12.1 | Fixed in Version | 12.1 | ||
Summary | 0003162: Foreign Key Names are numbered | ||||
Description | When foreign keys are generated for ER/Studio the names of the FK Objects contain numbers. If the original models is changed, these numbers may change and report many differences when comparing two ER Studio models. | ||||
Additional Information | Examples snippet where numbered names occur: Set FK50_Asset = MyModel.Relationships.Item("FK50_Asset") if FK50_Asset is nothing then Set FK50_Asset = MyModel.Relationships.AddWithRoleName( _ Entity_Workload.EntityName, Entity_Asset.EntityName, 3, _ "workload id, Workload aggregation/Workload") end if If FK50_Asset.ID <> 0 Then ' succesful FK50_Asset.Name = "FK50_Asset" FK50_Asset.BusinessName = "Workload aggregation" For Each fkpair In FK50_Asset.FkColumnPairs fkpair.ChildAttribute.RoleName = fkpair.ChildAttribute.LogicalRoleName Next End If | ||||
Tags | No tags attached. | ||||
CaseTalk Edition | unknown | ||||
Foreign key names which are technical in contrast to the Business Name, is now based on the business name to get rid of artificial global numbering. | |
In case a FK name still clashes, a local number is added to make at least one of them unique. Role verbs may also be used to generate a Business Name, aka FK Name. Similar issues may arise for PK/AK, but the new CaseTalk 12.1 will provide UC Names to prevent that from happening. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-10-16 19:35 | BCP Software | New Issue | |
2021-10-16 19:35 | BCP Software | Status | new => assigned |
2021-10-16 19:35 | BCP Software | Assigned To | => BCP Software |
2021-10-17 13:11 | BCP Software | Status | assigned => resolved |
2021-10-17 13:11 | BCP Software | Resolution | open => fixed |
2021-10-17 13:11 | BCP Software | Fixed in Version | => 12.1 |
2021-10-17 13:11 | BCP Software | Note Added: 0002084 | |
2021-10-18 11:23 | BCP Software | Note Added: 0002086 |