CoreStrings.PropertyInUseForeignKey(Object, Object, Object, Object) Method
Definition
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework