Aracılığıyla paylaş


ForeignKeyExtensions.GetRelatedEntityType(IForeignKey, IEntityType) Yöntem

Tanım

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

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

Parametreler

foreignKey
IForeignKey

Yabancı anahtar.

entityType
IEntityType

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

Döndürülenler

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

Şunlara uygulanır