Share via


ModificationStoredProceduresConfiguration<TEntityType>.Insert Method

Definition

Configures stored procedure used to insert entities.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.ModificationStoredProceduresConfiguration<TEntityType> Insert (Action<System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType>> modificationStoredProcedureConfigurationAction);
member this.Insert : Action<System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<'EntityType>> -> System.Data.Entity.ModelConfiguration.Configuration.ModificationStoredProceduresConfiguration<'EntityType (requires 'EntityType : null)>
Public Function Insert (modificationStoredProcedureConfigurationAction As Action(Of InsertModificationStoredProcedureConfiguration(Of TEntityType))) As ModificationStoredProceduresConfiguration(Of TEntityType)

Parameters

modificationStoredProcedureConfigurationAction
Action<InsertModificationStoredProcedureConfiguration<TEntityType>>

A lambda expression that performs configuration for the stored procedure.

Returns

The same configuration instance so that multiple calls can be chained.

Attributes

Applies to