File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/JsonApiDotNetCore/Configuration Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 8
8
using JsonApiDotNetCore . Resources . Annotations ;
9
9
using Microsoft . EntityFrameworkCore ;
10
10
using Microsoft . EntityFrameworkCore . Metadata ;
11
- using Microsoft . EntityFrameworkCore . Metadata . Internal ;
12
11
using Microsoft . Extensions . Logging ;
13
12
14
13
namespace JsonApiDotNetCore . Configuration
@@ -81,9 +80,7 @@ public ResourceGraphBuilder Add(DbContext dbContext)
81
80
82
81
private static bool IsImplicitManyToManyJoinEntity ( IEntityType entityType )
83
82
{
84
- #pragma warning disable EF1001 // Internal Entity Framework Core API usage.
85
- return entityType is EntityType { IsImplicitlyCreatedJoinEntityType : true } ;
86
- #pragma warning restore EF1001 // Internal Entity Framework Core API usage.
83
+ return entityType . IsPropertyBag && entityType . HasSharedClrType ;
87
84
}
88
85
89
86
/// <summary>
You can’t perform that action at this time.
0 commit comments