0

Is exists way to detect changes in one object graph comparing it this another object graph.

For example:

usersSourceGraph = ObjectContext.Users.Where("bla bla bla");
userGraph = GetUsersGraph() // come from another tier and detached from ObjectContext.

I need way of setting userGraph states in (Modified,New) comparing with usersSourceGraph.

Ladislav Mrnka
  • 360,892
  • 59
  • 660
  • 670
void
  • 1,347
  • 2
  • 13
  • 25

1 Answers1

2

You must do it manually. There is no support in EF for merging two object graphs.

Community
  • 1
  • 1
Ladislav Mrnka
  • 360,892
  • 59
  • 660
  • 670