Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AutoUseTransactions Question
Message
De
09/12/2008 09:01:30
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
08/12/2008 21:54:04
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01366140
Message ID:
01366183
Vues:
10
Hi Reggie,

>Hello guys, does entity centric business objects(generated using MM.NET 3.5) supports AutoUseTransactions?
>
>Based on the documentation(which i think is not comprehensive and shallow)
>
>"If AutoUseTransactions is true (it is by default), a transaction is automatically started when you call the business object's SaveDataSet method"
>
>what if i am using the SaveEntity() or SaveEntityList()? does it implement the automatic using of transactions?

You are right that isn't very clear. The SaveEntity and SaveEntityList ultimately all call the same SaveData method and the if (AutoUseTransactions) is accounted for.

Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform