SQLAdapter component
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > SQLAdapter component




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    SQLAdapter component  
Sam


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-01-05 10:55 PM

When we develop a custom component to load data to SQL Server , do you need 
a
BeginTransaction(), a commit and a rollback or is it not required since it i
s
a com+ component. I am new to biztalk and com+.


public class AICPipeSQL: ServicedComponent, IBTSAppIntegration
{
public AICPipeSQL()
{
}

string IBTSAppIntegration.ProcessMessage(string strDocument)
{
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(strDocument);
SqlDataAdapter oDa = new SqlDataAdapter();
DataSet oDs = new DataSet();
//SQLTransaction         ?????????


//Logic to extract data from the XML and load tp database

return strDocument;
}

private DataSet RetrieveStagingData(string groupValue)
{

}
}






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:38 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register