Export (0) Print
Expand All

EntityTypeConfiguration<TEntityType>.HasEntitySetName Method

Entity Framework 5.0

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
Assembly:  EntityFramework (in EntityFramework.dll)

public EntityTypeConfiguration<TEntityType> HasEntitySetName(
	string entitySetName
)

Parameters

entitySetName
Type: System.String

The name of the entity set.

Return Value

Type: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<TEntityType>
The same EntityTypeConfiguration<TEntityType> instance so that multiple calls can be chained.
Show:
© 2014 Microsoft