I have problems create relations within the designer.
Example:
I have 2 tables Doctor and Address.
Doctor
DoctorId (PK)
AddressId (FK)
Address
AddressId (PK)
If I add a new relation, the relations are generated (build) like this:
Address
Relations
Address - Doctor (1:n)
Address.AddressId (1:n) Doctor.AddressId
Doctor
Relations
Doctor - Address (m:1)
Doctor.AddressId (m:1) Address.AddressId
If I generate the code, I can´t access or prefech the Address from the DoctorEntity.
Ex. Doctor.Address.Name (because the Address property/collection isn´t generated)
But I can access the Doctor from the AddressEntity.
Ex. Address.Doctor.Faculty.
What does the m:1 mean? What´s wrong?
Regards,
Carlo
LLBLGen Pro 2.0.0.0 (Sep, 13th 2006), latest runtime and templates (I hope)