Share via


PropertyBaseExtensions.GetIndex(IPropertyBase) 方法

定义

获取此属性的属性索引。

public static int GetIndex (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);
static member GetIndex : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> int
<Extension()>
Public Function GetIndex (property As IPropertyBase) As Integer

参数

property
IPropertyBase

将为其返回属性索引的属性。

返回

属性的索引。

适用于