Relationship between tables 1:1

Hi @Wesley_Bobato, welcome to our Support Center.

If the foreign key field in database is in Script table, then there is where you should add your mapping. It's as simple as that.

A one-to-one relationship is simply a normal many-valued association relationship where you can only have a maximum of one item in the list. Thus, you should map as a regular many-valued association.

This topic explains how you can create a one-to-one relationship at the class Delphi:

I'm moving this topic to TMS Aurelius category.