IConventionEntityType.GetProperties 方法

定义

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

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

返回

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

注解

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

适用于