Compartilhar via


IMutableSkipNavigation.SetForeignKey(IMutableForeignKey) Método

Definição

Define a chave estrangeira.

public void SetForeignKey (Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey);
public void SetForeignKey (Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey? foreignKey);
abstract member SetForeignKey : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey -> unit
Public Sub SetForeignKey (foreignKey As IMutableForeignKey)

Parâmetros

foreignKey
IMutableForeignKey

A chave estrangeira. A passagem null resultará na não associação de chave estrangeira.

Aplica-se a