CoreStrings.NavigationForWrongForeignKey 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 navigation '{1_entityType}.{0_navigation}' cannot be associated with foreign key {targetForeignKeyProperties} because it was created for foreign key {actualForeignKeyProperties}.
public static string NavigationForWrongForeignKey (object navigation, object entityType, object targetFk, object actualFk);
public static string NavigationForWrongForeignKey (object? navigation, object? entityType, object? targetForeignKeyProperties, object? actualForeignKeyProperties);
static member NavigationForWrongForeignKey : obj * obj * obj * obj -> string
static member NavigationForWrongForeignKey : obj * obj * obj * obj -> string
Public Shared Function NavigationForWrongForeignKey (navigation As Object, entityType As Object, targetFk As Object, actualFk As Object) As String
Public Shared Function NavigationForWrongForeignKey (navigation As Object, entityType As Object, targetForeignKeyProperties As Object, actualForeignKeyProperties As Object) As String
Parameters
- navigation
- Object
- entityType
- Object
- targetFktargetForeignKeyProperties
- Object
- actualFkactualForeignKeyProperties
- 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