CoreStrings.ConflictingForeignKeyAttributes Method

Definition

Overloads

ConflictingForeignKeyAttributes(Object, Object)

There are multiple ForeignKeyAttributes which are pointing to same set of properties - '{propertyList}' on entity type '{entityType}'.

ConflictingForeignKeyAttributes(Object, Object, Object)

There are multiple [ForeignKey] attributes which are pointing to same set of properties '{propertyList}' on entity type '{entityType}' and targeting the principal entity type '{principalEntityType}'.

ConflictingForeignKeyAttributes(Object, Object)

Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs

There are multiple ForeignKeyAttributes which are pointing to same set of properties - '{propertyList}' on entity type '{entityType}'.

C#
public static string ConflictingForeignKeyAttributes (object propertyList, object entityType);

Parameters

propertyList
Object
entityType
Object

Returns

Applies to

Entity Framework Core 3.1 and Entity Framework Core 3.0
Product Versions
Entity Framework Core 3.0, 3.1

ConflictingForeignKeyAttributes(Object, Object, Object)

Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs

There are multiple [ForeignKey] attributes which are pointing to same set of properties '{propertyList}' on entity type '{entityType}' and targeting the principal entity type '{principalEntityType}'.

C#
public static string ConflictingForeignKeyAttributes (object propertyList, object entityType, object principalEntityType);
C#
public static string ConflictingForeignKeyAttributes (object? propertyList, object? entityType, object? principalEntityType);

Parameters

propertyList
Object
entityType
Object
principalEntityType
Object

Returns

Applies to

Entity Framework Core 9.0 and other versions
Product Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0