Udostępnij za pośrednictwem


MutableEntityTypeExtensions.FindOwnership(IMutableEntityType) 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.IMutableForeignKey FindOwnership (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member FindOwnership : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey
<Extension()>
Public Function FindOwnership (entityType As IMutableEntityType) As IMutableForeignKey

Parametry

entityType
IMutableEntityType

Typ jednostki.

Zwraca

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

Dotyczy