ace/Source/ACE.Database/ACE.Database.csproj
Mag-nus 6cab5020e3
Nuget packages update (EF Core 2.1) + Lazy loading database issue in Shard (#914)
* Fixed an issue identified in EF 2.1 where context was being modified...

One of the nested loops was lazy loaded, then we iterated through those results pulling more records from the db. This raised an exception in EF 2.1.

The fix is to eager load the results that we iterate over.

Because of this, I've switched everything over to eager loading anyway. We don't do any lazy loading in ACE (we have no requirement to).

* NuGet packages updated + Changelog

* Couple cosmetic changes and null check fixes
2018-08-01 08:32:28 -05:00

19 lines
607 B
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Platforms>x64</Platforms>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="log4net" Version="2.0.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.1.1" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="2.1.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ACE.Entity\ACE.Entity.csproj" />
</ItemGroup>
</Project>