InsertDataOperation.GenerateModificationCommands(IModel) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
此 API 現已淘汰。
產生對應至此作業的命令。
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation+<GenerateModificationCommands>d__16))]
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.InsertDataOperation+<GenerateModificationCommands>d__20))]
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.InsertDataOperation+<GenerateModificationCommands>d__20))]
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.InsertDataOperation+<GenerateModificationCommands>d__16))>]
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.InsertDataOperation+<GenerateModificationCommands>d__20))>]
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
傳回
對應至此作業的命令。
- 屬性