다음을 통해 공유


SqlCeMigrationSqlGenerator.StatementBatch(String, Boolean) 메서드

정의

문자열을 하나 이상의 문으로 나누어 필요에 따라 T-SQL 유틸리티 문을 처리합니다.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
protected void StatementBatch (string sqlBatch, bool suppressTransaction = false);
member this.StatementBatch : string * bool -> unit
Protected Sub StatementBatch (sqlBatch As String, Optional suppressTransaction As Boolean = false)

매개 변수

sqlBatch
String

실행할 하나의 광석 더 많은 문으로 분할할 SQL입니다.

suppressTransaction
Boolean

마이그레이션 프로세스를 트랜잭션으로 만드는 데 사용되는 트랜잭션 scope 외부에서 이 문을 수행해야 하는지 여부를 나타내는 값을 가져오거나 설정합니다. true로 설정하면 마이그레이션 프로세스가 실패하면 이 작업이 롤백되지 않습니다.

특성

적용 대상