Book a Demo

Author Topic: Changing Connector Types  (Read 3054 times)

mehmeteraymuslu

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Changing Connector Types
« on: August 03, 2018, 10:26:14 pm »
Hello,

Can I change connector types from DB directly "t_connector" tables "connector_type" column? Does this value effects another table? Does anyone know that? Or would it be better if i use scripting to connector types?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Changing Connector Types
« Reply #1 on: August 03, 2018, 10:30:30 pm »
I think it's pretty safe to change the connector type field, as long as you stick to one of the allowed types.

Just be careful for
- connector types with subtype (Ntype?)
- connectors with stereotypes that might not be valid anymore with the new connector type.

Geert

mehmeteraymuslu

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Changing Connector Types
« Reply #2 on: August 03, 2018, 11:30:13 pm »
I just rechecked and realized that  I need to change not connector types.

I am planning to change from "t_connector" table below values:

  • btm_mid_label
  • stereotype
  • destisnavigable
  • target2

Are you still suggesting to change?   :D

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Changing Connector Types
« Reply #3 on: August 03, 2018, 11:51:47 pm »
In that case I would definitely go through the API.

(One of the reasons is the navigability. There is also a Direction field that should change together with the isNavigable fields, another is the stereotype that is also stored in t_xref)

Geert