IMutableForeignKey.SetProperties Method

Definition

Sets the foreign key properties and that target principal key.

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)

Parameters

properties
IReadOnlyList<IMutableProperty>

Foreign key properties in the dependent entity.

principalKey
IMutableKey

The primary or alternate key to target.

Applies to