I don't want to include the foreign key id in my Appointment object - an Appointment HAS A Resource, not a Resource Id, and I shouldn't need to include the foreign key. Is there a way to do this? In other words, if I have an Appointment object that has an Employer object represented as an Employer dropdown, is there a way for the Scheduler to save the Employer object to the Appointment (basically the Scheduler would do something like myAppointment.Employer = myEmployer, where myEmployer is the Employer instance represented by the dropdown selection)? I don't want to include notions of foreign keys in my objects. That is bad design.
Gabriel
Gabriel