From 143675cf8041de6f8cc80cbf5f3bfd7da448214d Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Tue, 21 May 2013 23:05:05 -0700 Subject: [PATCH] oops. fixed relationships. --- Marr.Data/LazyLoaded.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Marr.Data/LazyLoaded.cs b/Marr.Data/LazyLoaded.cs index db8f0c25d..e9eb9df31 100644 --- a/Marr.Data/LazyLoaded.cs +++ b/Marr.Data/LazyLoaded.cs @@ -115,8 +115,11 @@ public override void LazyLoad() _child = _query(db, _parent); } } + else + { + _child = default(TChild); + } - _child = default(TChild); _isLoaded = true; } }