다음을 통해 공유


AlterTableOperation 생성자

정의

AlterTableOperation 클래스의 새 instance 초기화합니다. Entity Framework 마이그레이션 API는 신뢰할 수 없는 원본(예: 애플리케이션의 최종 사용자)에서 제공하는 입력을 허용하도록 설계되지 않았습니다. 이러한 원본에서 입력이 허용되는 경우 SQL 삽입 공격 등을 보호하기 위해 이러한 API에 전달되기 전에 유효성을 검사해야 합니다.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public AlterTableOperation (string name, System.Collections.Generic.IDictionary<string,System.Data.Entity.Infrastructure.Annotations.AnnotationValues> annotations, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.AlterTableOperation : string * System.Collections.Generic.IDictionary<string, System.Data.Entity.Infrastructure.Annotations.AnnotationValues> * obj -> System.Data.Entity.Migrations.Model.AlterTableOperation
Public Sub New (name As String, annotations As IDictionary(Of String, AnnotationValues), Optional anonymousArguments As Object = null)

매개 변수

name
String

주석이 변경된 테이블의 이름입니다.

annotations
IDictionary<String,AnnotationValues>

변경된 테이블의 사용자 지정 주석입니다.

anonymousArguments
Object

공급자가 처리할 수 있는 추가 인수입니다. 익명 형식 구문을 사용하여 인수를 지정합니다(예: 'new { SampleArgument = "MyValue" }').

특성

적용 대상