CoreStrings.FkAttributeOnSkipNavigation(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 [ForeignKey] attribute cannot be specified on the skip navigation '{entityType}'.'{navigation}'. Configure the foreign key properties in 'OnModelCreating' instead.
public static string FkAttributeOnSkipNavigation (object entityType, object navigation);
public static string FkAttributeOnSkipNavigation (object? entityType, object? navigation);
static member FkAttributeOnSkipNavigation : obj * obj -> string
Public Shared Function FkAttributeOnSkipNavigation (entityType As Object, navigation As Object) As String
Parameters
- entityType
- Object
- navigation
- 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