IUpdateAdapter.GetDependents(IUpdateEntry, IForeignKey) Method

Definition

Returns the dependents associated with the given principal and foreign key.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> GetDependents (Microsoft.EntityFrameworkCore.Update.IUpdateEntry principalEntry, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
abstract member GetDependents : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> seq<Microsoft.EntityFrameworkCore.Update.IUpdateEntry>
Public Function GetDependents (principalEntry As IUpdateEntry, foreignKey As IForeignKey) As IEnumerable(Of IUpdateEntry)

Parameters

principalEntry
IUpdateEntry

The principal entry.

foreignKey
IForeignKey

The foreign key that defines the relationship.

Returns

The dependents.

Applies to