2017-10-01 19 views
0

내가 VS 내 승리 10 PC에 .NET의 핵심이 콘솔 응용 프로그램에서 아래의 코드를 dedugging 때 주위 거래에 입대TransactionScope에 그물 코어 2

를 지원하지 않습니다이 오류가 2017 15.3.2 (하는 System.Data.SqlClient v4.4.0)

using (TransactionScope scope = new TransactionScope()) 
{ 
    using (SqlConnection connection1 = new SqlConnection(_configuration["ConnectionString"])) 
    { 
    connection1.Open(); 
    } 
    scope.Complete(); 
} 

TransactionScope에이 .NET 표준 2와 마이크로 소프트의 문서에서 찍은 위의 코드의 일부입니다https://docs.microsoft.com/en-gb/dotnet/api/system.transactions.transactionscope?view=netcore-2.0

답변