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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework