IEntityType.GetProperties 方法

定义

获取在此实体类型上定义的属性。

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

返回

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

实现

注解

此 API 仅返回标量属性,不返回导航属性。 使用 GetNavigations() 获取导航属性。

适用于