CoreStrings.EntityTypeInUseByReferencingForeignKey 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 entity type '{entityType}' cannot be removed because it is being referenced by foreign key {foreignKeyProperties} on '{referencingEntityType}'. Before the entity type can be removed, all referencing foreign keys must be removed.
public static string EntityTypeInUseByReferencingForeignKey (object entityType, object foreignKey, object referencingEntityType);
public static string EntityTypeInUseByReferencingForeignKey (object entityType, object foreignKeyProperties, object referencingEntityType);
public static string EntityTypeInUseByReferencingForeignKey (object? entityType, object? foreignKeyProperties, object? referencingEntityType);
static member EntityTypeInUseByReferencingForeignKey : obj * obj * obj -> string
static member EntityTypeInUseByReferencingForeignKey : obj * obj * obj -> string
Public Shared Function EntityTypeInUseByReferencingForeignKey (entityType As Object, foreignKey As Object, referencingEntityType As Object) As String
Public Shared Function EntityTypeInUseByReferencingForeignKey (entityType As Object, foreignKeyProperties As Object, referencingEntityType As Object) As String
Parameters
- entityType
- Object
- foreignKeyforeignKeyProperties
- Object
- referencingEntityType
- 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