WCF-LINQ Exception : Cycled Object Reference
A simple solution to a complicated error for anyone to try out before searching any further : Having to write a WCF service to handle complex LINQ entities with various foreign key references I came across the following exception when trying to consume the respective service : Object graph for type “EntityType” contains cycles and [...]
Full StoryLINQ Demystified : Using LINQ on Existing Data Model
As many other times, I came across this issue having to begin at the wrong end, i.e. having the result and in need of the problem. The samples and recommended procedures offer – as in most cases – only the simplest examples. The workaround is often tedious and in absence of feedback uncertain.
Full Story