Sprache

IMutableForeignKey.SetProperties Methode

Definition

Legt die Fremdschlüsseleigenschaften und diesen Zielprinzipalschlüssel fest.

public void SetProperties(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> properties, Microsoft.EntityFrameworkCore.Metadata.IMutableKey principalKey);
abstract member SetProperties : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> * Microsoft.EntityFrameworkCore.Metadata.IMutableKey -> unit
Public Sub SetProperties (properties As IReadOnlyList(Of IMutableProperty), principalKey As IMutableKey)

Parameter

properties
IReadOnlyList<IMutableProperty>

Fremdschlüsseleigenschaften in der abhängigen Entität.

principalKey
IMutableKey

Der primäre oder alternative Schlüssel zum Ziel.

Gilt für: