MigrationsSqlGenerator.GenerateModificationCommands Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
GenerateModificationCommands(DeleteDataOperation, IModel) |
Vygeneruje příkazy, které odpovídají dané operaci. |
GenerateModificationCommands(InsertDataOperation, IModel) |
Vygeneruje příkazy, které odpovídají dané operaci. |
GenerateModificationCommands(UpdateDataOperation, IModel) |
Vygeneruje příkazy, které odpovídají dané operaci. |
GenerateModificationCommands(DeleteDataOperation, IModel)
Vygeneruje příkazy, které odpovídají dané operaci.
[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)
Parametry
- operation
- DeleteDataOperation
Operace dat, pro která se mají generovat příkazy.
- model
- IModel
Model.
Návraty
Příkazy, které odpovídají dané operaci.
- Atributy
Platí pro
GenerateModificationCommands(InsertDataOperation, IModel)
Vygeneruje příkazy, které odpovídají dané operaci.
[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)
Parametry
- operation
- InsertDataOperation
Operace dat, pro která se mají generovat příkazy.
- model
- IModel
Model.
Návraty
Příkazy, které odpovídají dané operaci.
- Atributy
Platí pro
GenerateModificationCommands(UpdateDataOperation, IModel)
Vygeneruje příkazy, které odpovídají dané operaci.
[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)
Parametry
- operation
- UpdateDataOperation
Operace dat, pro která se mají generovat příkazy.
- model
- IModel
Model.
Návraty
Příkazy, které odpovídají dané operaci.
- Atributy
Platí pro
Entity Framework