I have a Entity called WG, and one called, TRANSLATIONSET. so the
relationship is WG << >> TRANSLATIONSET.
if I have the wg , I want to get all the TRANSLATIONSET that this
partigual wg has. Whne I was definiyng the EOModel, I set up a
manytomany relationship with a join table called WGxTS and I
unchecked the Flattern box, I read it somewhere.
If all the WGxTS table is doing is being a join table for a many-to-
many relationship, then flattening it I believe is the right thing to
do.
so if I do.
NSArray aux = wg.toTranslationSets();
If you don't do flattening, then you'd need something along the lines
of: wg.toTranslationSets().valueForKey("TranslationSet")
Dave
the contents of aux are all what is in the WGxTS which is not more
than the pk of WG and TRANSLATIONSET related..
What am I missing here, this is the first time Im working with many-
to-many rs.