DeleteDataOperation.GenerateModificationCommands(IModel) Method

Definition

Caution

This API is now deprecated.

Generates the commands that correspond to this operation.

C#
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation+<GenerateModificationCommands>d__16))]
public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommand> GenerateModificationCommands (Microsoft.EntityFrameworkCore.Metadata.IModel model);
C#
[System.Obsolete]
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation+<GenerateModificationCommands>d__20))]
public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommand> GenerateModificationCommands (Microsoft.EntityFrameworkCore.Metadata.IModel model);
C#
[System.Obsolete]
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation+<GenerateModificationCommands>d__20))]
public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommand> GenerateModificationCommands (Microsoft.EntityFrameworkCore.Metadata.IModel? model);

Parameters

model
IModel

Returns

The commands that correspond to this operation.

Attributes

Applies to

Product Versions (Obsolete)
Entity Framework Core 2.1, 2.2, 3.0, 3.1 (5.0, 6.0)