IMutableForeignKey.SetProperties Methode

Definition

Legt die Fremdschlüsseleigenschaften und den 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är- oder Alternativschlüssel für das Ziel.

Gilt für: