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 |
Write a standard lock() plus double check to create a critical section around a variable access?
“~” means in asp.net application?
Can we set which type of comparison we want to perform by the CompareValidator control?
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
Trigger syntax in sql2000
What is difference between ASP and ASP.NET ?
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.
Can master pages be nested?
How to check the end of the record in Datareader?
Difference between singleton and singlecall.
How to retrieve data row by row from a DataTable? Thanks In advance PriyaPP
Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?