Bagikan melalui


IMutableForeignKey.SetProperties Metode

Definisi

Mengatur properti kunci asing dan kunci utama target tersebut.

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>

Properti kunci asing di entitas dependen.

principalKey
IMutableKey

Kunci utama atau alternatif untuk ditargetkan.

Berlaku untuk