plotters / wogwt

Automatically exported from code.google.com/p/wogwt
0 stars 0 forks source link

Saving eo on server #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to implement the method saveMovies(NSArray<MovieClient> movies) in 
eoservice ( WOGWTDemo app).

I wonder how you can get the Movie (server side) from a MovieClient.
I did it by testing equality on globalID on both side.
So in an naive way,I tested the equality on every Movie until I find the right 
one.

Is there a more direct way to do that ? 

Thanks in advance

Original issue reported on code.google.com by pierregi...@gmail.com on 7 Jun 2012 at 3:55

GoogleCodeExporter commented 9 years ago
Yes, editingContext.faultForGlobalID(globalID, editingContext);

Original comment by johnth...@gmail.com on 11 Jun 2012 at 4:46