﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Merge data</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 17:47:46 GMT</lastBuildDate><ttl>20</ttl><item><title>Merge data</title><link>http://forum.strataframe.net/FindPost6928.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I have temporary BO to allow user to edit records which is in un-normalized format. Then, I want to add these records back to normalized table - ParentTable and ChildTable.&lt;/P&gt;&lt;P&gt;After saved,User may&amp;nbsp;want retrieve and edit/delete records in this temporary BO. Any simple way to "merge" back the records to database? Does BusinessLayer.MergeDataTable() do what I need?&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Mon, 19 Feb 2007 09:11:06 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Merge data</title><link>http://forum.strataframe.net/FindPost6937.aspx</link><description>The only way to automatically do what you're talking about is to create an updatable view (either an indexed view that can be updated, or stored procedures to update, insert and delete records from the view) and build a business object from that view.&amp;nbsp; Then, you can add new records to the business object and save them.&amp;nbsp; Otherwise, you'll have to hand-code the transfer of the data back into the separate child &amp;amp; parent business objects.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The MergeDataTable() method is used to merge two separate data tables that have the same structure down to one DataTable, removing conflicting records by testing the PK values.</description><pubDate>Mon, 19 Feb 2007 09:11:06 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>