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

將傳回屬性索引的屬性。

傳回

屬性的索引。

適用於