共用方式為


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

模型本身。

傳回

對應至指定作業的命令。

屬性

適用於