Skip to content

Commit e69ecb5

Browse files
author
Francinaldo Portela
committed
removing external dependencies
1 parent e020257 commit e69ecb5

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

src/Z.EntityFramework.Plus.EF6/Z.EntityFramework.Plus.EF6.csproj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,9 @@
3737
<Prefer32Bit>false</Prefer32Bit>
3838
</PropertyGroup>
3939
<ItemGroup>
40-
<Reference Include="Effort, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6a46696d54971e6d, processorArchitecture=MSIL">
41-
<HintPath>..\packages\Effort.EF6.1.3.0\lib\net45\Effort.dll</HintPath>
42-
<Private>True</Private>
43-
</Reference>
4440
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
4541
<HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath>
4642
</Reference>
47-
<Reference Include="NMemory, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6a46696d54971e6d, processorArchitecture=MSIL">
48-
<HintPath>..\packages\NMemory.1.1.0\lib\net45\NMemory.dll</HintPath>
49-
<Private>True</Private>
50-
</Reference>
5143
<Reference Include="System" />
5244
<Reference Include="System.ComponentModel.DataAnnotations" />
5345
<Reference Include="System.Core" />
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Effort.EF6" version="1.3.0" targetFramework="net45" />
43
<package id="EntityFramework" version="6.0.0" targetFramework="net45" />
5-
<package id="NMemory" version="1.1.0" targetFramework="net45" />
64
</packages>

src/shared/Z.EF.Plus._Core.Shared/EF6/IQueryable`/IsInMemoryEffortQueryContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ internal static partial class InternalExtensions
1111
{
1212
public static bool IsInMemoryEffortQueryContext<T>(this IQueryable<T> q)
1313
{
14-
return q.GetDbContext().Database.Connection is Effort.Provider.EffortConnection;
14+
return q.GetDbContext().Database.Connection.GetType().FullName == "Effort.Provider.EffortConnection";
1515
}
1616
}
1717
}

0 commit comments

Comments
 (0)