src/EntityFramework/ModelConfiguration/EntityTypeConfiguration.cs
/// <summary>
///     Allows advanced configuration related to how this entity type is mapped to the database schema.
///     By default, any configuration will also apply to any type derived from this entity type.
///     Derived types can be configured via the overload of Map that configures a derived type or
///     by using an EntityTypeConfiguration for the derived type.
///     The properties of an entity can be split between multiple tables using multiple Map calls.
///     Calls to Map are additive, subsequent calls will not override configuration already preformed via Map.
/// </summary>
/// <param name="entityMappingConfigurationAction">
///     An action that performs configuration against an
///     <see
///         cref="EntityMappingConfiguration{TEntityType}" />
///     .
/// </param>
/// <returns> The same EntityTypeConfiguration instance so that multiple calls can be chained. </returns>
Allows advanced configuration related to how this entity type is mapped to the database schema.
By default, any configuration will also apply to any type derived from this entity type.
Derived types can be configured via the overload of Map that configures a derived type or
by using an EntityTypeConfiguration for the derived type.
The properties of an entity can be split between multiple tables using multiple Map calls.
Calls to Map are additive, subsequent calls will not override configuration already preformed via Map.
Allows advanced configuration related to how this entity type is mapped to the database schema . By default any configuration will also apply to any type derived from this entity type . Derived types can be configured via the overload of Map that configures a derived type or by using an EntityTypeConfiguration for the derived type . The properties of an entity can be split between multiple tables using multiple Map calls . Calls to Map are additive subsequent calls will not override configuration already preformed via Map .
[SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
        public EntityTypeConfiguration<TEntityType> Map(
            Action<EntityMappingConfiguration<TEntityType>> entityMappingConfigurationAction)
        {
            Check.NotNull(entityMappingConfigurationAction, "entityMappingConfigurationAction");
            var entityMappingConfiguration = new EntityMappingConfiguration<TEntityType>();
            entityMappingConfigurationAction(entityMappingConfiguration);
            _entityTypeConfiguration.AddMappingConfiguration(
                entityMappingConfiguration.EntityMappingConfigurationInstance);
            return this;
        }
[ SuppressMessage ( " " , " " ) ] public EntityTypeConfiguration < TEntityType > Map ( Action < EntityMappingConfiguration < TEntityType > > entityMappingConfigurationAction ) { Check . NotNull ( entityMappingConfigurationAction , " " ) ; var entityMappingConfiguration = new EntityMappingConfiguration < TEntityType > ( ) ; entityMappingConfigurationAction ( entityMappingConfiguration ) ; _entityTypeConfiguration . AddMappingConfiguration ( entityMappingConfiguration . EntityMappingConfigurationInstance ) ; return this ; }
Allows advanced configuration related to how this entity type is mapped to the database schema.
Allows advanced configuration related to how this entity type is mapped to the database schema .
The same EntityTypeConfiguration instance so that multiple calls can be chained.
The same EntityTypeConfiguration instance so that multiple calls can be chained .
entityMappingConfigurationAction
Action<EntityMappingConfiguration<TEntityType>>
An action that performs configuration against an


An action that performs configuration against an