I think I may have a problem with my design but I wanted to figure out if I could do this. This is a driver routing system, where a driver has a number of stops assigned to him and he then enters information about what happened at that stop (i.e. a deliver was made or not and why not), those stops are stored in a IList as part of the driver. The situation is that there are times where those stops have to be change to different drivers but the history needs to stay the same. I at first thought I could just take the stop add it to the other drivers collection and remove it from the first driver. If I do that though I get
a different object with the same identifier value was already associated with the session: 1554b92f225f4f3592a73680f201abae, of class: TreaterDAL.CompTreatSheet
Am I looking at this from the wrong direction?[/b]
|