Condividi tramite


CoreStrings.SeedDatumNavigation(Object, Object, Object, Object) Metodo

Definizione

Impossibile aggiungere l'entità di inizializzazione per il tipo di entità '{entityType}' perché ha il set di navigazione '{navigation}'. Per inizializzare le relazioni, aggiungere il seed dell'entità a '{relatedEntityType}' e specificare i valori di chiave esterna {foreignKeyProperties}. È consigliabile usare 'DbContextOptionsBuilder.EnableSensitiveDataLogging' per visualizzare i valori delle proprietà coinvolti.

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

Parametri

entityType
Object
navigation
Object
relatedEntityType
Object
foreignKeyProperties
Object

Restituisce

Si applica a