ConventionTypeConfiguration.HasEntitySetName Method (String)

 

Configures the entity set name to be used for this entity type. The entity set name can only be configured for the base type in each set.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

public ConventionTypeConfiguration HasEntitySetName(
	string entitySetName
)

Parameters

entitySetName
Type: System.String

The name of the entity set.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration

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

Calling this will have no effect once it has been configured.