Re: Dia XML format information

Greetings, BURY Stéphane!

And I’m a little bit confused with  the [dia:connection].
I can find the tables witch are linked but not the field.

By example, for a reference i get this connections information :
        <dia:connection handle="0" to="O29" connection="15"/>
        <dia:connection handle="1" to="O37" connection="13"/>
So I know the foreign key start from table with id O29 and point to table
with id O37 but what is the meaning of « connection »  (15 and 13 in this case) ?

Specific connection points, I presume.

I would like to know from which table field to which table field
For the moment I only have from which table to which table and of course it’s not enough to generate SQL 

Can you give me the method to translate the [connection="15"] and the
[connection="13"] to the corresponding field of a table object ?
What I’ve missed ?

You'd have to cross-reference the shapes to find out, which connection point
related to which field, I presume. Granted, this is least elegant.
I'd like to know if there's a better option.

With best regards,
Andrey Repin
Saturday, December 9, 2017 19:05:12

Sorry for my terrible english...

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]