The following blog post by Atin nicely explains how to go about doing this
Inserting parent child records with Identity column using WCF-SQL Adapter in one transaction
by community-syndication | Oct 12, 2009 | BizTalk Community Blogs via Syndication | 0 comments