JetBrains Rider
 
2024.3
Get JetBrains Rider

Code inspection: The relationship defined by this property contributes to a dependency loop

Last modified: 26 May 2024

This inspection reports dependent relationship between the classes used in the context of Entity Framework. In the example below, a bidirectional relationship between Person and Animal forms a cycle: a Person has Pets (of type Animal), and each Animal has an Owner (of type Person):