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

Which method do you use to kill explicitly a users session?

1062


What do you mean by role-based security?

986


How do you open a page in a new window?

986


Is asp.net core faster?

1019


What is a 307 redirect?

905


What is the difference between dynamic SGA and static SGA?

1175


What is event bubbling?

1015


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

2166


What is the main differences between asp and asp.net?

1085


How do you implement postback with a text box?

988


Explain difference between dataset and recordset?

1047


What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?

1168


How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?

1011


In ViewState How much lifespan items stored?

1077


Explain what is an assembly?

972