SqlServerMigrationSqlGenerator.GenerateProcedureBody 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为存储过程生成 SQL 正文。
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
参数
- commandTrees
- ICollection<DbModificationCommandTree>
命令树表示插入、更新或删除操作的命令。
- rowsAffectedParameter
- String
受影响的行参数名称。
- providerManifestToken
- String
提供程序清单标记。
返回
存储过程的 SQL 正文。