public ModificationStoredProceduresConfiguration <TEntityType> Insert( Action <InsertModificationStoredProcedureConfiguration <TEntityType> > modificationStoredProcedureConfigurationAction) { Check.NotNull <Action <InsertModificationStoredProcedureConfiguration <TEntityType> > >(modificationStoredProcedureConfigurationAction, nameof(modificationStoredProcedureConfigurationAction)); InsertModificationStoredProcedureConfiguration <TEntityType> procedureConfiguration = new InsertModificationStoredProcedureConfiguration <TEntityType>(); modificationStoredProcedureConfigurationAction(procedureConfiguration); this._configuration.Insert(procedureConfiguration.Configuration); return(this); }
public ModificationStoredProceduresConfiguration <TEntityType> Insert( Action <InsertModificationStoredProcedureConfiguration <TEntityType> > modificationStoredProcedureConfigurationAction) { Check.NotNull(modificationStoredProcedureConfigurationAction, "modificationStoredProcedureConfigurationAction"); var modificationStoredProcedureConfiguration = new InsertModificationStoredProcedureConfiguration <TEntityType>(); modificationStoredProcedureConfigurationAction(modificationStoredProcedureConfiguration); _configuration.Insert(modificationStoredProcedureConfiguration.Configuration); return(this); }