New Posts New Posts RSS Feed: Multiple Entites Managers
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Multiple Entites Managers

 Post Reply Post Reply
Author
gregweb View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Topic: Multiple Entites Managers
    Posted: 30-Jan-2012 at 2:41pm
I have an app with Multiple Entity Managers, ie one for each repository. The main reason for this is so that the user can save/cancel save for each entity manager without affecting the others.

However, we now have the issue of duplicate entities being downloaded from the server and would like to avoid the extra round trips.

Any suggestions on this?

Greg
Back to Top
smi-mark View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 343
Post Options Post Options   Quote smi-mark Quote  Post ReplyReply Direct Link To This Post Posted: 31-Jan-2012 at 11:40am
One option is this:

- Fetch data into EM1
- Import data from EM1 into EM2. Make changes or cancel, then either save from EM2 and merge back to EM1, or merge back to EM1 and save from there.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down