IndexOperation.BuildDefaultName Method (IEnumerable<String>)

 

Creates a default index name based on the supplied column names.

Namespace:   System.Data.Entity.Migrations.Model
Assembly:  EntityFramework (in EntityFramework.dll)

public static string BuildDefaultName(
	IEnumerable<string> columns
)

Parameters

columns
Type: System.Collections.Generic.IEnumerable<String>

The column names used to create a default index name.

Return Value

Type: System.String

A default index name.