Aracılığıyla paylaş


EntityTypeExtensions.FindOwnership(IEntityType) Yöntem

Tanım

Bu sahip olunan bir türse veya null başka bir türdeyse, ilişkiyi sahiple döndürür.

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

Parametreler

entityType
IEntityType

Varlık türü.

Döndürülenler

Bu sahip olunan bir türse veya null başka bir türdeyse, sahiple olan ilişki.

Şunlara uygulanır