[baseten-users] Using relationships with binding
Réjean Lamy
rejean.lamy at mac.com
Tue Apr 21 15:43:18 EEST 2009
Hi
I am beginning learning BaseTen and having difficulties with
relationship and binding.
I have successfully built and run the CarLot and Stickies exemples.
These examples don't use entities relationship.
Now I try to build a BaseTen version of the simple Hillegass
Department-Emloyee example (3rd Edtion - Chapter 30).
The first problem was with one-to-many relationship field and NULL
value. I manually edited the table to allow the relationship field to
accept NULL.
But now my second problem is about using relationship with binding.
Is it correct with BX to use Array Controllers for the ManagerPopUP,
EmployeeList (Department View) and DeptPopUp (Employee View) ?
Is It ok for these controllers to be in "Entity mode" with
"Automatically Prepare Content ?
What is the correct binding for these controllers ?
What is the correct key path for a relationship ? (trying the Data
Model name and the "other table" name don't work).
Probably I am confused between Core Data and BX usage of relationship
and Binding.
Is there available simple BX Xcode examples using relationship (using
binding and using coding) ?
Thanks
Rejean Lamy
More information about the baseten-users
mailing list