Share via


CoreStrings.SeedDatumNavigation(Object, Object, Object, Object) Method

Definition

The seed entity for entity type '{entityType}' cannot be added because it has the navigation '{navigation}' set. To seed relationships, add the entity seed to '{relatedEntityType}' and specify the foreign key values {foreignKeyProperties}. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the involved property values.

public static string SeedDatumNavigation (object entityType, object navigation, object relatedEntityType, object foreignKeyProperties);
public static string SeedDatumNavigation (object? entityType, object? navigation, object? relatedEntityType, object? foreignKeyProperties);
static member SeedDatumNavigation : obj * obj * obj * obj -> string
Public Shared Function SeedDatumNavigation (entityType As Object, navigation As Object, relatedEntityType As Object, foreignKeyProperties As Object) As String

Parameters

entityType
Object
navigation
Object
relatedEntityType
Object
foreignKeyProperties
Object

Returns

Applies to