MigrationsSqlGenerator.GenerateModificationCommands 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GenerateModificationCommands(UpdateDataOperation, IModel) |
生成对应于给定操作的命令。 |
GenerateModificationCommands(DeleteDataOperation, IModel) |
生成对应于给定操作的命令。 |
GenerateModificationCommands(InsertDataOperation, IModel) |
生成对应于给定操作的命令。 |
GenerateModificationCommands(UpdateDataOperation, IModel)
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- 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)
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- 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)
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- 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
模型。
返回
对应于给定操作的命令。
- 属性