BizTalk Server General - SQLAdapter component

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > March 2005 > SQLAdapter component





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SQLAdapter component
Sam

2005-03-01, 5: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 is
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)
{

}
}

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com