Skip to content

Commit e6d5afa

Browse files
authored
Fixed issue #16 (#17) (#18)
* Bugfix: infinite LazyReference loading * Update nuget package version
1 parent f794cd6 commit e6d5afa

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Microsoft.EntityFrameworkCore.LazyLoading/LazyReference.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public T GetValue(object parent, string referenceName)
5151
}
5252

5353
_ctx.Entry(parent).Reference(referenceName).Load();
54+
_isLoaded = true;
5455
}
5556
finally
5657
{

src/Microsoft.EntityFrameworkCore.LazyLoading/Microsoft.EntityFrameworkCore.LazyLoading.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard1.3</TargetFramework>
5-
<Version>1.1.1-beta3</Version>
5+
<Version>1.1.1-beta4</Version>
66
<Authors>darxis</Authors>
77
<Company />
88
<Description>This package enables LazyLoading for EntityFramework Core</Description>
99
<PackageTags>Entity Framework Core EF EntityFramework LazyLoading Lazy Include DbContext EntityFrameworkCore O/RM ORM Data</PackageTags>
1010
<RepositoryUrl>https://github.com/darxis/EntityFramework.LazyLoading</RepositoryUrl>
1111
<PackageProjectUrl>https://github.com/darxis/EntityFramework.LazyLoading</PackageProjectUrl>
12-
<AssemblyVersion>1.1.1.2</AssemblyVersion>
13-
<FileVersion>1.1.1.2</FileVersion>
12+
<AssemblyVersion>1.1.1.3</AssemblyVersion>
13+
<FileVersion>1.1.1.3</FileVersion>
1414
</PropertyGroup>
1515

1616
<ItemGroup>

0 commit comments

Comments
 (0)