I’m currently studying about the entity framework, in particular the self-tracking entity generator and POCO entities. I have come across the term “object graph” a couple of times in my reading but no definition / explanation. What is an “object graph” in the context of the entity framework?
I’m currently studying about the entity framework, in particular the self-tracking entity generator and
Share
I think your root question has nothing to do with EF itself. An “object graph” is a data structure resident in memory of class instances. For example if you had:
and a bunch of things in memory thusly:
You would have a Directed Graph that holds me, my boss, and his boss. Basically, we’re talking about Data Structures 101.