Loop Reference handling in Web API

The IssueIt's very common to have circular reference in models. For example, the following models shows a bidirection navigation property: 1: public class Category 2: { 3: public Category() 4: { 5: Products = new Collection<Product>();

C# (1.4 MB)
 
 
 
 
 
(3)
1,249 times
Add to favorites
9/5/2012
E-mail Twitter del.icio.us Digg Facebook