RelationalIndexExtensions.GetName(IIndex) Method

Definition

Caution

Use GetDatabaseName() instead

Returns the name of the index in the database.

public static string GetName (this Microsoft.EntityFrameworkCore.Metadata.IIndex index);
[System.Obsolete("Use GetDatabaseName() instead")]
public static string GetName (this Microsoft.EntityFrameworkCore.Metadata.IIndex index);
static member GetName : Microsoft.EntityFrameworkCore.Metadata.IIndex -> string
[<System.Obsolete("Use GetDatabaseName() instead")>]
static member GetName : Microsoft.EntityFrameworkCore.Metadata.IIndex -> string
<Extension()>
Public Function GetName (index As IIndex) As String

Parameters

index
IIndex

The index.

Returns

The name of the index in the database.

Attributes

Applies to