-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: sundeep
Message 15 in Discussion

hi dinesh,   after  going through all the mails, i would like to give my way of doing 
it...   1 st thing , do not have commit transaction in any of the classes.. try 
passing a connection object to  the constructor  of class 1 ,then do all the  db 
operations.  add a method to the class 1 which retrns the status of the DBoperations.. 
performed in class1.. then depending on the status .. instantiate the Class2 , by 
passing  the same connection object.. follw the same thin  done in class1..  if both 
the classes return  status a s true,., then in the class where u r instntiating Class1 
and  class2  .. perform commit on the connection object..   well thats it..  there may 
be some performence issues but.. in order to have this kind of  transaction goig,,.  i 
think this is the best solution..   regards  sundeep

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to