HighwayFramework / Highway.Data

The fastest and smoothest way to great architecture
http://hwyfwk.com
MIT License
73 stars 30 forks source link

Adding Many-child with back ref Entity populated, results in infinite loop #69

Closed trayburn closed 10 years ago

trayburn commented 10 years ago

Blog has many Posts, Post has one Blog

Blog.Posts.Count == 0 context.Add(new Post() { Blog = Blog }); context.Commit();

// Welcome to an Infinite Loop

DevlinLiles commented 10 years ago

Verified with tests that this is working, and no infinite loop exists