Share via


ModificationStoredProceduresConfiguration<TEntityType>.Delete Method

Definition

Configures stored procedure used to delete entities.

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

Parameters

modificationStoredProcedureConfigurationAction
Action<DeleteModificationStoredProcedureConfiguration<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