src/Shared/EntityFramework/ModelConfiguration/Configuration/Functions/ConventionModificationStoredProceduresConfiguration.cs
/// <summary>Configures stored procedure used to insert entities.</summary>
/// <returns> The same configuration instance so that multiple calls can be chained. </returns>
/// <param name="modificationStoredProcedureConfigurationAction">A lambda expression that performs configuration for the stored procedure.</param>
Configures stored procedure used to insert entities.
Configures stored procedure used to insert entities .
public ConventionModificationStoredProceduresConfiguration Insert(
            Action<ConventionInsertModificationStoredProcedureConfiguration> modificationStoredProcedureConfigurationAction)
        {
            Check.NotNull(modificationStoredProcedureConfigurationAction, "modificationStoredProcedureConfigurationAction");
            var modificationStoredProcedureConfiguration
                = new ConventionInsertModificationStoredProcedureConfiguration(_type);
            modificationStoredProcedureConfigurationAction(modificationStoredProcedureConfiguration);
            _configuration.Insert(modificationStoredProcedureConfiguration.Configuration);
            return this;
        }
public ConventionModificationStoredProceduresConfiguration Insert ( Action < ConventionInsertModificationStoredProcedureConfiguration > modificationStoredProcedureConfigurationAction ) { Check . NotNull ( modificationStoredProcedureConfigurationAction , " " ) ; var modificationStoredProcedureConfiguration = new ConventionInsertModificationStoredProcedureConfiguration ( _type ) ; modificationStoredProcedureConfigurationAction ( modificationStoredProcedureConfiguration ) ; _configuration . Insert ( modificationStoredProcedureConfiguration . Configuration ) ; return this ; }
Configures stored procedure used to insert entities.
Configures stored procedure used to insert entities .
The same configuration instance so that multiple calls can be chained.
The same configuration instance so that multiple calls can be chained .
modificationStoredProcedureConfigurationAction
Action<ConventionInsertModificationStoredProcedureConfiguration>
A lambda expression that performs configuration for the stored procedure.
A lambda expression that performs configuration for the stored procedure .