473,385 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Transactionoption

Hi,
I'm new to web services using XML.
I'm developing application using c#.
Could anybody explain me the difference between
[WebMethod(TransactionOption=TransactionOption.Requ iresNew)]

[WebMethod(TransactionOption=TransactionOption.Requ ired)].
I'm unable to understand the difference between
TransactionOption.RequiresNew and TransactionOption.Required.
If possible please explain me with an example(not with code, concept)
Thanks & Regards,
Mani

Mar 30 '07 #1
1 2234
Hi,
The following link explains the difference ... with code example :)

http://msdn2.microsoft.com/en-us/lib...on(VS.71).aspx

Husam Al-A'araj

"Manikandan" wrote:
Hi,
I'm new to web services using XML.
I'm developing application using c#.
Could anybody explain me the difference between
[WebMethod(TransactionOption=TransactionOption.Requ iresNew)]

[WebMethod(TransactionOption=TransactionOption.Requ ired)].
I'm unable to understand the difference between
TransactionOption.RequiresNew and TransactionOption.Required.
If possible please explain me with an example(not with code, concept)
Thanks & Regards,
Mani

Mar 30 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Srikanth. | last post by:
Hi, This problem is really a jerk. See the following code: <Assembly: ApplicationActivation(ActivationOption.Library) > <Assembly: ApplicationAccessControl(False)> ...
4
by: WhiteEagl | last post by:
Hi, I have an application that uses a web service to access a SQLServer database. Theses 3 elements are on seperate machines. Part of my webservice looks like this: public void...
7
by: Christian Maslen | last post by:
Hi all, I've been trying to get a distributed transaction working between a ..Net client and DB2/UDB. I've tried the following combinations: Client Server Win 2000 SP4 ...
26
by: Lasse Edsvik | last post by:
Hello I'm trying to build a simple COM+ app in vs.net using C# and i cant register it in component manager..... what more is needed than this: using System; using...
3
by: John Wood | last post by:
Can someone confirm that TransactionOption.Required isn't supported for webservices... I thought all webservices can only act as the root of a transaction and not join an existing transaction,...
1
by: Sonya | last post by:
Hello, I have trouble connecting to Access database from my web service. Database is located in a subdirectory of where service pages are. Code below produces the following exception: "No error...
0
by: Mythran | last post by:
I have a few classes that have the TransactionAttribute applied to them with the default TransactionOption.Required as the transaction option. While developing on my network, behind my firewall, I...
0
by: samiam | last post by:
I know that "a new transaction" can be started from a web method by simply using an attribute " I guess the assumption here is that if the web method returns normally, the transaction is...
0
by: Steve B. | last post by:
Hi, I've a businness layer with some business objects. In these objects, I use several TableAdapters to get and update data. In order to maintain the consistency of data, I'd like to use...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.