Table Relation

Can we create table relation through code ?? .

If Yes ,then can anyone explain me with an example ?

Do you mean creating a link between tables in query, or a table relation saved to AOT?

I am talking about the Table relation which comes under Relations Node in a specific table.

Yes possible, take help of the EDT Migration tool logic, which adds the relation from EDT to the table.

\Classes\SysEDTMigration\migrateToNewRelation

Thanks Kranthiā€¦

Your response really helped me to achieve me my goal.