﻿<?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 / Business Objects and Data Access (How do I?)  / Use of the Business Mapper to serialize / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Sat, 06 Sep 2008 19:43:35 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Use of the Business Mapper to serialize</title><link>http://forum.strataframe.net/Topic204-6-1.aspx</link><description>Yes, every time you access a "serialized" property, the serialized data within the business object's CurrentDataTable is de-serialized and returned.  If you type something like this:&lt;br&gt;&lt;br&gt;[code]MyBO.SerializedBitmap.Width = 50[/code]&lt;br&gt;&lt;br&gt;the business object de-serializes the bitmap, and you set the width on the object that was just de-serialized.  However, this line of code 1) does not obtain an object reference to the object that was just de-serialized and 2) does not re-assign the value of the modified bitmap object back to the serialized property (so, the modified bitmap is never re-serialized back into the data table).  When working with a serialized field, you need to save an object reference to the object that was pulled out and put it back in to the property when you're done with it.</description><pubDate>Thu, 01 Dec 2005 08:37:18 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>Use of the Business Mapper to serialize</title><link>http://forum.strataframe.net/Topic204-6-1.aspx</link><description>After reading your documentaion "Common Serialized Field Mistakes" my interpretation of this is that once you set a field to be serialized every time you access the field deserializes before you get the strong-type.&lt;/P&gt;&lt;P&gt;Doing this you have to make a local copy and use that. Please explain?&lt;/P&gt;&lt;P&gt;Tks</description><pubDate>Thu, 01 Dec 2005 07:29:20 GMT</pubDate><dc:creator>John Frankewicz</dc:creator></item></channel></rss>