Multiple Entites Managers
Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3242
Printed Date: 13-May-2026 at 10:48am
Topic: Multiple Entites Managers
Posted By: gregweb
Subject: Multiple Entites Managers
Date 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
|
Replies:
Posted By: smi-mark
Date 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.
|
|