Condividi tramite


SqlServerMigrationSqlGenerator.GenerateProcedureBody Metodo

Definizione

Genera il corpo SQL per una stored procedure.

public override string GenerateProcedureBody (System.Collections.Generic.ICollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationCommandTree> commandTrees, string rowsAffectedParameter, string providerManifestToken);
override this.GenerateProcedureBody : System.Collections.Generic.ICollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationCommandTree> * string * string -> string
Public Overrides Function GenerateProcedureBody (commandTrees As ICollection(Of DbModificationCommandTree), rowsAffectedParameter As String, providerManifestToken As String) As String

Parametri

commandTrees
ICollection<DbModificationCommandTree>

Alberi dei comandi che rappresentano i comandi per un'operazione di inserimento, aggiornamento o eliminazione.

rowsAffectedParameter
String

Nome del parametro interessato dalle righe.

providerManifestToken
String

Token del manifesto del provider.

Restituisce

Corpo SQL per la stored procedure.

Si applica a