Share via


PrimaryKeyIndexConfiguration.HasName(String) Method

Definition

Configures the index to have a specific name.

public System.Data.Entity.ModelConfiguration.Configuration.PrimaryKeyIndexConfiguration HasName (string name);
member this.HasName : string -> System.Data.Entity.ModelConfiguration.Configuration.PrimaryKeyIndexConfiguration
Public Function HasName (name As String) As PrimaryKeyIndexConfiguration

Parameters

name
String

Value indicating what the index name should be.

Returns

The same IndexConfigurationBase instance so that multiple calls can be chained.

Applies to