Share via


RelationalIndexExtensions.GetDefaultName(IIndex) Method

Definition

Caution

Use GetDefaultDatabaseName() instead

Returns the default name that would be used for this index.

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

Parameters

index
IIndex

The index.

Returns

The default name that would be used for this index.

Attributes

Applies to