Skip to content

Commit f8cd994

Browse files
2 parents bad26ff + 0285cda commit f8cd994

File tree

5 files changed

+7
-15
lines changed

5 files changed

+7
-15
lines changed

EntityFramework.Utilities/EntityFramework.Utilities/MappingHelper.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public EfMapping(DbContext db)
198198
{
199199
tableMapping.TPHConfiguration.Mappings.Add(
200200
getClr(item.Fragments[0]),
201-
GetNonPublicPropertyValue(item.Fragments[0].Conditions[0], "Value").ToString()
201+
((ValueConditionMapping)item.Fragments[0].Conditions[0]).Value.ToString()
202202
);
203203
}
204204
}
@@ -245,14 +245,6 @@ private Type GetClrTypeFromTypeMapping(MetadataWorkspace metadata, ObjectItemCol
245245
return GetClrType(metadata, objectItemCollection, mapping.EntityType ?? mapping.IsOfEntityTypes.First());
246246
}
247247

248-
249-
static object GetNonPublicPropertyValue(object o, string propertyName)
250-
{
251-
return o.GetType()
252-
.GetProperty(propertyName, BindingFlags.NonPublic | BindingFlags.Instance)
253-
.GetValue(o, null);
254-
}
255-
256248
private static dynamic GetProperty(string property, object instance)
257249
{
258250
var type = instance.GetType();

EntityFramework.Utilities/PerformanceTests/PerformanceTests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
<ItemGroup>
3535
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
3636
<SpecificVersion>False</SpecificVersion>
37-
<HintPath>..\packages\EntityFramework.6.1.1\lib\net40\EntityFramework.dll</HintPath>
37+
<HintPath>..\packages\EntityFramework.6.1.3\lib\net40\EntityFramework.dll</HintPath>
3838
</Reference>
3939
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
4040
<SpecificVersion>False</SpecificVersion>
41-
<HintPath>..\packages\EntityFramework.6.1.1\lib\net40\EntityFramework.SqlServer.dll</HintPath>
41+
<HintPath>..\packages\EntityFramework.6.1.3\lib\net40\EntityFramework.SqlServer.dll</HintPath>
4242
</Reference>
4343
<Reference Include="ServiceStack.Text">
4444
<HintPath>..\packages\ServiceStack.Text.3.8.3\lib\net35\ServiceStack.Text.dll</HintPath>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="EntityFramework" version="6.1.1" targetFramework="net40" />
3+
<package id="EntityFramework" version="6.1.3" targetFramework="net40" />
44
<package id="ServiceStack.Text" version="3.8.3" />
55
</packages>

EntityFramework.Utilities/Tests/Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
<ItemGroup>
3838
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
3939
<SpecificVersion>False</SpecificVersion>
40-
<HintPath>..\packages\EntityFramework.6.1.1\lib\net40\EntityFramework.dll</HintPath>
40+
<HintPath>..\packages\EntityFramework.6.1.3\lib\net40\EntityFramework.dll</HintPath>
4141
</Reference>
4242
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
4343
<SpecificVersion>False</SpecificVersion>
44-
<HintPath>..\packages\EntityFramework.6.1.1\lib\net40\EntityFramework.SqlServer.dll</HintPath>
44+
<HintPath>..\packages\EntityFramework.6.1.3\lib\net40\EntityFramework.SqlServer.dll</HintPath>
4545
</Reference>
4646
<Reference Include="EntityFramework.SqlServerCompact">
4747
<HintPath>..\packages\EntityFramework.SqlServerCompact.6.0.2\lib\net40\EntityFramework.SqlServerCompact.dll</HintPath>

EntityFramework.Utilities/Tests/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="EntityFramework" version="6.1.1" targetFramework="net40" />
3+
<package id="EntityFramework" version="6.1.3" targetFramework="net40" />
44
<package id="EntityFramework.SqlServerCompact" version="6.0.2" targetFramework="net40" />
55
<package id="Microsoft.SqlServer.Compact" version="4.0.8876.1" targetFramework="net40" />
66
<package id="ServiceStack.Text" version="3.8.3" />

0 commit comments

Comments
 (0)