MutableEntityTypeExtensions.FindOwnership(IMutableEntityType) 方法

定義

如果這是擁有的類型, null 則傳回與擁有者的關聯性,否則傳回該關聯性。

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

參數

entityType
IMutableEntityType

實體類型。

傳回

如果這是擁有的類型, null 則為擁有者的關聯性,否則為 。

適用於