CoreStrings.IdentifyingRelationshipCycle(Object) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A relationship cycle involving the primary keys of the following entity types was detected: '{entityType}'. This would prevent any entity to be inserted without violating the store constraints. Review the foreign keys defined on the primary keys and either remove or use other properties for at least one of them.
public static string IdentifyingRelationshipCycle (object entityType);
public static string IdentifyingRelationshipCycle (object? entityType);
static member IdentifyingRelationshipCycle : obj -> string
Public Shared Function IdentifyingRelationshipCycle (entityType As Object) As String
- entityType
- Object
Product | Versions |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: