Skip to content

Commit 45d2b85

Browse files
author
Jon Holt
committed
Remove Core references in EF5 conditional code
1 parent 2febaab commit 45d2b85

File tree

1 file changed

+2
-2
lines changed
  • src/shared/Z.EF.Plus.Audit.Shared

1 file changed

+2
-2
lines changed

src/shared/Z.EF.Plus.Audit.Shared/Audit.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public Audit()
6161

6262
public static object GetRelationshipEntryKey0(ObjectStateEntry entry)
6363
{
64-
var relationshipEntryType = typeof(ObjectStateEntry).Assembly.GetType("System.Data.Entity.Core.Objects.RelationshipEntry");
64+
var relationshipEntryType = typeof(ObjectStateEntry).Assembly.GetType("System.Data.Objects.RelationshipEntry");
6565

6666
if (RelationshipEntryKey0 == null)
6767
{
@@ -82,7 +82,7 @@ public static object GetRelationshipEntryKey0(ObjectStateEntry entry)
8282

8383
public static object GetRelationshipEntryKey1(ObjectStateEntry entry)
8484
{
85-
var relationshipEntryType = typeof(ObjectStateEntry).Assembly.GetType("System.Data.Entity.Core.Objects.RelationshipEntry");
85+
var relationshipEntryType = typeof(ObjectStateEntry).Assembly.GetType("System.Data.Objects.RelationshipEntry");
8686

8787
if (RelationshipEntryKey1 == null)
8888
{

0 commit comments

Comments
 (0)