相关疑难解决方法(0)

C#:SQL事务

连接关闭时,是否可以在c#中检索当前的SQL事务?

sqlTransaction.Save("savePoint"); 
sqlConnection.Close()              // im purposely closing it to test 

if (sqlConnection.State == ConnectionState.Close)
{
    sqlConnection.Open():

   // is it possible to resume the sql transaction when I re-open    
   // the sql connection? how? 
}
Run Code Online (Sandbox Code Playgroud)

c# sql database-connection transactions

1
推荐指数
2
解决办法
2554
查看次数

标签 统计

c# ×1

database-connection ×1

sql ×1

transactions ×1