다음을 통해 공유


UpdateDatabaseOperation(IList<DbQueryCommandTree>) 생성자

정의

UpdateDatabaseOperation 클래스의 새 인스턴스를 초기화합니다.

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

public UpdateDatabaseOperation (System.Collections.Generic.IList<System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree> historyQueryTrees);
new System.Data.Entity.Migrations.Model.UpdateDatabaseOperation : System.Collections.Generic.IList<System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree> -> System.Data.Entity.Migrations.Model.UpdateDatabaseOperation
Public Sub New (historyQueryTrees As IList(Of DbQueryCommandTree))

매개 변수

historyQueryTrees
IList<DbQueryCommandTree>

이 마이그레이션을 데이터베이스에 적용해야 하는지 확인하는 데 사용되는 쿼리입니다. 이는 모든 버전에서 데이터베이스에 대해 실행할 수 있는 멱등 SQL 스크립트를 생성하는 데 사용됩니다.

적용 대상