Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TransactionScope after SqlConnection
Message
From
13/12/2008 08:14:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/12/2008 02:06:54
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01367147
Message ID:
01367155
Views:
7
>Hi,
>I read some articles about TransactionScope, and all of them shown to create TransactionScope instance then only follow by SqlConnection.
>However, my SqlConnection is a global connection which connected to SQL Server during application startup and keep alive.
>Any issue if I create TransactionScope instance after SqlConnection is opened?
>
>Please advice.
>
>Thank you

(An SQL connection connected to server during startup and kept alive is not recommended)
You can create and use transactionscope later when you need it.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform