I disabled lazy loading and proxy creation in EF5 before returning any results in the Web Api. Everything worked fine. However, when i start to Include()
other entities for eager fetching, some of the JSON objects look like this:
{
$ref: "14"
},
.. correct objects ..
{
$ref: "6"
},
..
What is this "$ref"
that gets included in the list of results?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…