EntityTypeExtensions.IsOwned(IEntityType) 方法

定义

获取一个值,该值指示此实体类型是否由另一个实体类型拥有。

[System.Diagnostics.DebuggerStepThrough]
public static bool IsOwned (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[<System.Diagnostics.DebuggerStepThrough>]
static member IsOwned : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> bool
<Extension()>
Public Function IsOwned (entityType As IEntityType) As Boolean

参数

entityType
IEntityType

实体类型。

返回

true 如果此实体类型由另一个实体类型拥有,则为 。

属性

适用于