IConventionTypeBase.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 仅返回标量属性,不返回导航、复杂或服务属性。

适用于