MoveProcedureOperation(String, String, Object) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 MoveProcedureOperation 类的新实例。
实体框架迁移 API 不设计为接受不受信任的源提供的输入(例如应用程序的最终用户)。 如果从此类源接受输入,则应在传递给这些 API 之前对其进行验证,以防止 SQL 注入攻击等。
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public MoveProcedureOperation(string name, string newSchema, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.MoveProcedureOperation : string * string * obj -> System.Data.Entity.Migrations.Model.MoveProcedureOperation
Public Sub New (name As String, newSchema As String, Optional anonymousArguments As Object = null)
参数
- name
- String
要移动的存储过程的名称。
- newSchema
- String
存储过程的新架构。
- anonymousArguments
- Object
使用匿名类型语法指定参数,例如'new { SampleArgument = “MyValue” }'。
- 特性