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


MigrationsSqlGenerator.GenerateModificationCommands Метод

Определение

Перегрузки

GenerateModificationCommands(UpdateDataOperation, IModel)

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

GenerateModificationCommands(DeleteDataOperation, IModel)

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

GenerateModificationCommands(InsertDataOperation, IModel)

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

GenerateModificationCommands(UpdateDataOperation, IModel)

Исходный код:
MigrationsSqlGenerator.cs
Исходный код:
MigrationsSqlGenerator.cs
Исходный код:
MigrationsSqlGenerator.cs
Исходный код:
MigrationsSqlGenerator.cs
Исходный код:
MigrationsSqlGenerator.cs

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

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator+<GenerateModificationCommands>d__52))]
protected virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommand> GenerateModificationCommands (Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator+<GenerateModificationCommands>d__52))]
protected virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand> GenerateModificationCommands (Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator+<GenerateModificationCommands>d__52))>]
abstract member GenerateModificationCommands : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommand>
override this.GenerateModificationCommands : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommand>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator+<GenerateModificationCommands>d__52))>]
abstract member GenerateModificationCommands : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand>
override this.GenerateModificationCommands : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand>
Protected Iterator Overridable Function GenerateModificationCommands (operation As UpdateDataOperation, model As IModel) As IEnumerable(Of ModificationCommand)
Protected Iterator Overridable Function GenerateModificationCommands (operation As UpdateDataOperation, model As IModel) As IEnumerable(Of IReadOnlyModificationCommand)

Параметры

operation
UpdateDataOperation

Операция с данными, для которой создаются команды.

model
IModel

Модель.

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

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

Атрибуты

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

GenerateModificationCommands(DeleteDataOperation, IModel)

Исходный код:
MigrationsSqlGenerator.cs
Исходный код:
MigrationsSqlGenerator.cs
Исходный код:
MigrationsSqlGenerator.cs
Исходный код:
MigrationsSqlGenerator.cs
Исходный код:
MigrationsSqlGenerator.cs

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

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator+<GenerateModificationCommands>d__50))]
protected virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommand> GenerateModificationCommands (Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator+<GenerateModificationCommands>d__50))]
protected virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand> GenerateModificationCommands (Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator+<GenerateModificationCommands>d__50))>]
abstract member GenerateModificationCommands : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommand>
override this.GenerateModificationCommands : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommand>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator+<GenerateModificationCommands>d__50))>]
abstract member GenerateModificationCommands : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand>
override this.GenerateModificationCommands : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand>
Protected Iterator Overridable Function GenerateModificationCommands (operation As DeleteDataOperation, model As IModel) As IEnumerable(Of ModificationCommand)
Protected Iterator Overridable Function GenerateModificationCommands (operation As DeleteDataOperation, model As IModel) As IEnumerable(Of IReadOnlyModificationCommand)

Параметры

operation
DeleteDataOperation

Операция с данными, для которой создаются команды.

model
IModel

Модель.

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

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

Атрибуты

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

GenerateModificationCommands(InsertDataOperation, IModel)

Исходный код:
MigrationsSqlGenerator.cs
Исходный код:
MigrationsSqlGenerator.cs
Исходный код:
MigrationsSqlGenerator.cs
Исходный код:
MigrationsSqlGenerator.cs
Исходный код:
MigrationsSqlGenerator.cs

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

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator+<GenerateModificationCommands>d__48))]
protected virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommand> GenerateModificationCommands (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator+<GenerateModificationCommands>d__48))]
protected virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand> GenerateModificationCommands (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator+<GenerateModificationCommands>d__48))>]
abstract member GenerateModificationCommands : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommand>
override this.GenerateModificationCommands : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommand>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator+<GenerateModificationCommands>d__48))>]
abstract member GenerateModificationCommands : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand>
override this.GenerateModificationCommands : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand>
Protected Iterator Overridable Function GenerateModificationCommands (operation As InsertDataOperation, model As IModel) As IEnumerable(Of ModificationCommand)
Protected Iterator Overridable Function GenerateModificationCommands (operation As InsertDataOperation, model As IModel) As IEnumerable(Of IReadOnlyModificationCommand)

Параметры

operation
InsertDataOperation

Операция с данными, для которой создаются команды.

model
IModel

Модель.

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

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

Атрибуты

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