BizTalk 2004 :: Fact retriever :: more than 1 data connection? How?
- From: "BA" <biztalk.architect@xxxxxxxxx>
- Date: 17 May 2005 05:02:12 -0700
Hello,
In the code below you set a single data connection for a single DB
table.
I have many data connections to add, how do you extend this sample to
add more than 1 data connection?
public class DbFactRetriever : IFactRetriever
{
public object UpdateFacts(RuleSetInfo rulesetInfo,
Microsoft.RuleEngine.RuleEngine engine,
object factsHandleIn)
{
object factsHandleOut;
SqlConnection con1 = new
SqlConnection("Initial Catalog=foo;
Data Source=(local);Integrated Security=SSPI;");
DataConnection dc1 =
new DataConnection("foo", "fum", con1);
engine.Assert(dc1);
factsHandleOut = dc1;
}
return factsHandleOut;
}
I'm still learning C# so any help would be greatly appreciated.
Thanks!
BA
.
- Follow-Ups:
- Re: BizTalk 2004 :: Fact retriever :: more than 1 data connection? How?
- From: Matt Milner
- Re: BizTalk 2004 :: Fact retriever :: more than 1 data connection? How?
- Prev by Date: AS400 FTP deleting member from file. File left empty
- Next by Date: Re: How to implement this process ?
- Previous by thread: AS400 FTP deleting member from file. File left empty
- Next by thread: Re: BizTalk 2004 :: Fact retriever :: more than 1 data connection? How?
- Index(es):