PrimaryKeyOperation.BuildDefaultName Method (String)

 

Returns the default name for the primary key.

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

public static string BuildDefaultName(
	string table
)

Parameters

table
Type: System.String

The target table name.

Return Value

Type: System.String

The default primary key name.