IEntityType.GetServiceProperties 方法

定义

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

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

返回

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

注解

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

适用于