[英]Is it possible to have 2 BizTalk Server nodes running off of a single MessageBox?
[英]Is it possible to insert 50 000 record in single statement in BIzTalk Server?
是的,这是可能的。
首先,当您生成数据库模式时,请确保您使用 TableOp/Insert。
在你的 WCF-SQL 或 WCF-Custom with sqlbindings 的 Action 中有以下之一。 第一个如果通过同一个端口发送多个不同的操作(然后操作名称必须匹配消息上下文中设置的,或者通过 Orchestration 逻辑端口操作名称或 BRE 规则),或者第二个你可以使用如果你只发送一种有效载荷。
<BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Operation Name="InsertCustomer" Action="TableOp/Insert/dbo/CustomerDetails" />
<Operation Name="InsertPO" Action="TableOp/Insert/dbo/PurchaseOrder" />
</BtsActionMapping>
或者
TableOp/Insert/dbo/CustomerDetails
当然,用您要插入的任何表替换 CustomerDetails。
从它的外观来看,您的 map 可能不正确,如果您在 Visual Studio 中对其进行测试,您也可能会得到一条记录,这就是问题所在。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.