ForeignKeyExtensions.GetRelatedEntityType(IForeignKey, IEntityType) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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ü.