Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the page level transaction and class level
transaction?

Answer Posted / madhavi

transaction support allows pages to participate in ongoing
Microsoft .NET Framework transactions. Transaction support
is exposed via an @Transaction directive that indicates the
desired level of support: Required, RequiresNew, Supported,
NotSupported, Disabled.
The Transaction attribute is applied at the class level too
to indicate that all class methods should be run in the
context of a transaction. If an unhandled exception is
thrown during the execution of a class method, the
transaction is aborted. Otherwise, the transaction is committed.
we can set the page level transaction by
<@page transaction='"required">
using System.EnterpriseServices;
[Transaction]
public class TransactionAttribute_Cl : ServicedComponent
{
}

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are triggers of an updatepanel?

1025


What are the differnt types of handler in ASP.NET?

1024


What is syntax code to send email from an asp.net application?

1059


Can you set which type of comparison you want to perform by the comparevalidator control?

959


What are sql joins?

1050


Which object encapsulates state or data of a user?

1106


What is difference between cache and session?

1019


What is a session in asp.net?

1095


What is the difference between pathparam and queryparam?

1115


Describe the method to create a permanent cookie?

1126


Is it possible to migrate visual interdev design-time controls to asp.net?

1093


What is the difference between custom controls and user controls?

984


Differentiate between structure and class.

1069


How do I send an email message from my ASP.NET page?

1005


What is the main function of url routing system in asp.net mvc? : asp.net mvc

1057