IReadOnlyEntityType.GetServiceProperties 方法

定义

获取此实体类型上定义的所有 IReadOnlyServiceProperty

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyServiceProperty> GetServiceProperties ();
abstract member GetServiceProperties : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyServiceProperty>
Public Function GetServiceProperties () As IEnumerable(Of IReadOnlyServiceProperty)

返回

在此实体类型上定义的服务属性。

注解

此 API 仅返回服务属性,不返回标量或导航属性。

适用于