IndexConfiguration.HasName(String) Method

Definition

Configures the index to have a specific name.

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

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