CoreStrings.FkAttributeOnPropertyNavigationMismatch 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 [ForeignKey] attributes on property '{property}' and navigation '{navigation}' in entity type '{entityType}' do not point at each other. Make sure the value of the [ForeignKey] attribute on the property matches the navigation name, and the value of the [ForeignKey] attribute on the navigation matches the foreign key property name or remove one of them.
public static string FkAttributeOnPropertyNavigationMismatch (object property, object navigation, object entityType);
public static string FkAttributeOnPropertyNavigationMismatch (object? property, object? navigation, object? entityType);
static member FkAttributeOnPropertyNavigationMismatch : obj * obj * obj -> string
Public Shared Function FkAttributeOnPropertyNavigationMismatch (property As Object, navigation As Object, entityType As Object) As String
Parameters
- property
- Object
- navigation
- Object
- entityType
- 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