MutableForeignKeyExtensions.GetRelatedEntityType(IMutableForeignKey, IMutableEntityType) Yöntem

Tanım

Verilen varlıkla ilgili varlık türünü alır.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType GetRelatedEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetRelatedEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function GetRelatedEntityType (foreignKey As IMutableForeignKey, entityType As IMutableEntityType) As IMutableEntityType

Parametreler

foreignKey
IMutableForeignKey

Yabancı anahtar.

entityType
IMutableEntityType

Yabancı anahtarla ilgili varlık türlerinden biri.

Döndürülenler

IMutableEntityType

Verilen varlıkla ilgili varlık türü.

Şunlara uygulanır