Questions tagged [object-relationships]

36 questions
0
votes
1 answer

Having challenges finding a referenced child object / relationship / magic

I inherited the management of a Salesforce org for an NPO that works with Students. Our Students have Enrollments (in schools). When an Enrollment is created on a Student, its demarcated via a Checkbox (binary) as the "Most Recent Enrollment" by the…
0
votes
1 answer

CoreData add object to a to-many Relationship error

I have a CoreData object Player with a to-many relationship to goals. I am trying to add a goal object like so, Goal *fg =(Goal*)[self.database createGoalObject]; //Custom function Player* player = (Player*)[NSEntityDescription…
Michael Rivers
  • 920
  • 2
  • 10
  • 17
0
votes
1 answer

rails: variable showing as method undefined, but object is created successfully

I generated the app using scaffolds as such:. rails generate scaffold server hostname:string rails generate scaffold template remote_template_id:integer remote_template_name:string server:belongs_to In my rails controller, for the show…
Pinpin
  • 83
  • 1
  • 9
0
votes
1 answer

Core Data Relationships and saving/fetching

I'm a little confused about the core data mechanisms with respect to object relationships. I have an "Account" model, and a "Credit Card" model, and I have two questions: How do I set up a one-to-many relationship from Account to Credit Card and a…
Mason
  • 6,893
  • 15
  • 71
  • 115
0
votes
1 answer

Need to understand Instance level relationship

I need to understand Instance level relationship in UML. I have read several documents regarding this but not getting satisfied. I am still confused in aggregation,composition etc. I know that some of you may feel that this is not the correct place…
shantanu
  • 1,748
  • 3
  • 19
  • 34
0
votes
1 answer

XCode 4.2 CoreData Adding Data to NSSet one-to-many Entity Relationships

I'm having a lot of difficulty with CoreData. The learning curve is very steep. I'm a pretty novice XCode user and don't know much about databases either. I've spent quite a while trying to figure out what approach to take for my program and have…
esd100
  • 499
  • 1
  • 7
  • 14
1 2
3