EntityTypeExtensions.FindOwnership(IEntityType) Metoda

Definicja

Zwraca relację z właścicielem, jeśli jest to typ własności lub null w inny sposób.

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

Parametry

entityType
IEntityType

Typ jednostki.

Zwraca

Relacja z właścicielem, jeśli jest to typ własności lub null w inny sposób.

Dotyczy