Share via


CoreStrings.PropertyInUseForeignKey(Object, Object, Object, Object) Method

Definition

The property '{property}' cannot be removed from the type '{type}' because it is being used in the foreign key {foreignKeyProperties} on '{foreignKeyType}'. All containing foreign keys must be removed or redefined before the property can be removed.

public static string PropertyInUseForeignKey (object property, object entityType, object foreignKey, object foreignKeyType);
public static string PropertyInUseForeignKey (object property, object entityType, object foreignKeyProperties, object foreignKeyType);
public static string PropertyInUseForeignKey (object? property, object? entityType, object? foreignKeyProperties, object? foreignKeyType);
public static string PropertyInUseForeignKey (object? property, object? type, object? foreignKeyProperties, object? foreignKeyType);
static member PropertyInUseForeignKey : obj * obj * obj * obj -> string
static member PropertyInUseForeignKey : obj * obj * obj * obj -> string
static member PropertyInUseForeignKey : obj * obj * obj * obj -> string
Public Shared Function PropertyInUseForeignKey (property As Object, entityType As Object, foreignKey As Object, foreignKeyType As Object) As String
Public Shared Function PropertyInUseForeignKey (property As Object, entityType As Object, foreignKeyProperties As Object, foreignKeyType As Object) As String
Public Shared Function PropertyInUseForeignKey (property As Object, type As Object, foreignKeyProperties As Object, foreignKeyType As Object) As String

Parameters

property
Object
entityTypetype
Object
foreignKeyforeignKeyProperties
Object
foreignKeyType
Object

Returns

Applies to