IUpdateAdapter.FindPrincipal(IUpdateEntry, IForeignKey) Método

Definición

Obtiene la entrada principal de la entrada dependiente especificada y la clave externa.

public Microsoft.EntityFrameworkCore.Update.IUpdateEntry FindPrincipal (Microsoft.EntityFrameworkCore.Update.IUpdateEntry dependentEntry, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
public Microsoft.EntityFrameworkCore.Update.IUpdateEntry? FindPrincipal (Microsoft.EntityFrameworkCore.Update.IUpdateEntry dependentEntry, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
abstract member FindPrincipal : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Update.IUpdateEntry
Public Function FindPrincipal (dependentEntry As IUpdateEntry, foreignKey As IForeignKey) As IUpdateEntry

Parámetros

dependentEntry
IUpdateEntry

Entrada dependiente.

foreignKey
IForeignKey

Clave externa que define la relación.

Devoluciones

La entidad de seguridad o null si no se encontró ninguna.

Se aplica a