src/Shared/EntityFramework/ModelConfiguration/Configuration/Types/ConventionTypeConfiguration.cs
/// <summary>
/// Configures this type to use stored procedures for insert, update and delete.
/// </summary>
/// <param name="modificationStoredProceduresConfigurationAction">
/// Configuration to override the default conventions for procedure and parameter names.
/// </param>
/// <returns> The same configuration instance so that multiple calls can be chained. </returns>
Configures this type to use stored procedures for insert, update and delete.
Configures this type to use stored procedures for insert update and delete .
public ConventionTypeConfiguration MapToStoredProcedures(
            Action<ConventionModificationStoredProceduresConfiguration> modificationStoredProceduresConfigurationAction)
        {
            Check.NotNull(modificationStoredProceduresConfigurationAction, "modificationStoredProceduresConfigurationAction");
            ValidateConfiguration(ConfigurationAspect.MapToStoredProcedures);
            var modificationStoredProcedureMappingConfiguration = new ConventionModificationStoredProceduresConfiguration(_type);
            modificationStoredProceduresConfigurationAction(modificationStoredProcedureMappingConfiguration);
            MapToStoredProcedures(modificationStoredProcedureMappingConfiguration.Configuration);
            return this;
        }
public ConventionTypeConfiguration MapToStoredProcedures ( Action < ConventionModificationStoredProceduresConfiguration > modificationStoredProceduresConfigurationAction ) { Check . NotNull ( modificationStoredProceduresConfigurationAction , " " ) ; ValidateConfiguration ( ConfigurationAspect . MapToStoredProcedures ) ; var modificationStoredProcedureMappingConfiguration = new ConventionModificationStoredProceduresConfiguration ( _type ) ; modificationStoredProceduresConfigurationAction ( modificationStoredProcedureMappingConfiguration ) ; MapToStoredProcedures ( modificationStoredProcedureMappingConfiguration . Configuration ) ; return this ; }
Configures this type to use stored procedures for insert, update and delete.
Configures this type to use stored procedures for insert update and delete .
The same configuration instance so that multiple calls can be chained.
The same configuration instance so that multiple calls can be chained .
modificationStoredProceduresConfigurationAction
Action<ConventionModificationStoredProceduresConfiguration>
Configuration to override the default conventions for procedure and parameter names.
Configuration to override the default conventions for procedure and parameter names .