MigrationSqlGenerator.GenerateProcedureBody Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates the SQL body for a stored procedure.
public virtual string GenerateProcedureBody (System.Collections.Generic.ICollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationCommandTree> commandTrees, string rowsAffectedParameter, string providerManifestToken);
abstract member GenerateProcedureBody : System.Collections.Generic.ICollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationCommandTree> * string * string -> string
override this.GenerateProcedureBody : System.Collections.Generic.ICollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationCommandTree> * string * string -> string
Public Overridable Function GenerateProcedureBody (commandTrees As ICollection(Of DbModificationCommandTree), rowsAffectedParameter As String, providerManifestToken As String) As String
Parameters
- commandTrees
- ICollection<DbModificationCommandTree>
The command trees representing the commands for an insert, update or delete operation.
- rowsAffectedParameter
- String
The rows affected parameter name.
- providerManifestToken
- String
The provider manifest token.
Returns
The SQL body for the stored procedure.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework