MigrationsSqlGenerator.GenerateModificationCommands Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
GenerateModificationCommands(UpdateDataOperation, IModel) |
Génère les commandes qui correspondent à l’opération donnée. |
GenerateModificationCommands(DeleteDataOperation, IModel) |
Génère les commandes qui correspondent à l’opération donnée. |
GenerateModificationCommands(InsertDataOperation, IModel) |
Génère les commandes qui correspondent à l’opération donnée. |
GenerateModificationCommands(UpdateDataOperation, IModel)
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
Génère les commandes qui correspondent à l’opération donnée.
[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)
Paramètres
- operation
- UpdateDataOperation
Opération de données pour laquelle générer des commandes.
- model
- IModel
Modèle.
Retours
Commandes qui correspondent à l’opération donnée.
- Attributs
S’applique à
GenerateModificationCommands(DeleteDataOperation, IModel)
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
Génère les commandes qui correspondent à l’opération donnée.
[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)
Paramètres
- operation
- DeleteDataOperation
Opération de données pour laquelle générer des commandes.
- model
- IModel
Modèle.
Retours
Commandes qui correspondent à l’opération donnée.
- Attributs
S’applique à
GenerateModificationCommands(InsertDataOperation, IModel)
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
- Source:
- MigrationsSqlGenerator.cs
Génère les commandes qui correspondent à l’opération donnée.
[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)
Paramètres
- operation
- InsertDataOperation
Opération de données pour laquelle générer des commandes.
- model
- IModel
Modèle.
Retours
Commandes qui correspondent à l’opération donnée.
- Attributs