IndexConfiguration.HasName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework