Поделиться через


UpdateDataOperation.GenerateModificationCommands(IModel) Метод

Определение

Внимание!

Теперь этот API является нерекомендуемым.

Создает команды, соответствующие данной операции.

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation+<GenerateModificationCommands>d__24))]
public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommand> GenerateModificationCommands (Microsoft.EntityFrameworkCore.Metadata.IModel model);
[System.Obsolete]
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation+<GenerateModificationCommands>d__32))]
public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommand> GenerateModificationCommands (Microsoft.EntityFrameworkCore.Metadata.IModel model);
[System.Obsolete]
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation+<GenerateModificationCommands>d__32))]
public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommand> GenerateModificationCommands (Microsoft.EntityFrameworkCore.Metadata.IModel? model);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation+<GenerateModificationCommands>d__24))>]
abstract member GenerateModificationCommands : Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommand>
override this.GenerateModificationCommands : Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommand>
[<System.Obsolete>]
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation+<GenerateModificationCommands>d__32))>]
abstract member GenerateModificationCommands : Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommand>
override this.GenerateModificationCommands : Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommand>
Public Iterator Overridable Function GenerateModificationCommands (model As IModel) As IEnumerable(Of ModificationCommand)

Параметры

model
IModel

Возвращаемое значение

Команды, соответствующие данной операции.

Атрибуты

Применяется к