Jazyk

CoreStrings.SeedDatumNavigation(Object, Object, Object, Object) Metoda

Definice

Počáteční entitu pro typ entity {entityType} nelze přidat, protože má nastavenou navigaci {navigation}. Pro počáteční relace přidejte entitu do {relatedEntityType} a zadejte hodnoty cizího klíče {foreignKeyProperties}. Zvažte použití DbContextOptionsBuilder.EnableSensitiveDataLogging k zobrazení zahrnutých hodnot vlastností.

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

Parametry

entityType
Object
navigation
Object
relatedEntityType
Object
foreignKeyProperties
Object

Návraty

Platí pro