What are the page level transaction and class level
transaction?



What are the page level transaction and class level transaction?..

Answer / 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

More ASP.NET Interview Questions

Write a standard lock() plus double check to create a critical section around a variable access?

1 Answers  


“~” means in asp.net application?

4 Answers   IBS,


Can we set which type of comparison we want to perform by the CompareValidator control?

0 Answers   MindCracker,


In a page there is dropdown list with the name of the cities like Bangalore,Pune,Chennai,Other and a text box that would enable the user to enter the name of the city if other is selected. How to enable validation on the text box if other is selected

1 Answers  


Trigger syntax in sql2000

1 Answers   Wipro,






What is difference between ASP and ASP.NET ?

3 Answers   TCS,


After building the custom control, you test it by adding an ASP.Net web application to the solution. You add a correct <%@ Register %> directive and a proper declaration of the control in the <asp:Form> tag to the Web Form, but when you execute the application you get an error. What is the most likely reason for the problem? a) The custom control must be compiled first. b) The web application must have a reference to the control c) The custom control must be registered with windows first. d) The assembly from the custom control is not in the application?s bin directory.

1 Answers   Syntax Softtech,


Can master pages be nested?

0 Answers  


How to check the end of the record in Datareader?

2 Answers   Cognizant,


Difference between singleton and singlecall.

0 Answers  


How to retrieve data row by row from a DataTable? Thanks In advance PriyaPP

3 Answers  


Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?

0 Answers  


Categories