PropertyBaseExtensions.GetIndex(IPropertyBase) Method

Definition

Gets the property index for this property.

C#
public static int GetIndex (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);

Parameters

property
IPropertyBase

The property for which the property index will be returned.

Returns

The index of the property.

Applies to

Product Versions
Entity Framework Core 5.0