﻿<?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?)  » Changing a properties name in BO mapper</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 22:31:51 GMT</lastBuildDate><ttl>20</ttl><item><title>Changing a properties name in BO mapper</title><link>http://forum.strataframe.net/FindPost2524.aspx</link><description>I am doing a conversion from our old Fox data to SQL, some of the field name in FoxPro are causing problems with the generated code for the BO mapper.&amp;nbsp; Field names like operator, or code cause the generated code to error and not compile.&amp;nbsp; Is there a way that I can 'change' the name of the field in the BO so that it will compile but still have it access the correct column in the underlaying table with out having to change all the Fox field names?&lt;/P&gt;&lt;P&gt;Scott</description><pubDate>Tue, 29 Aug 2006 12:59:35 GMT</pubDate><dc:creator>Scott</dc:creator></item><item><title>RE: Changing a properties name in BO mapper</title><link>http://forum.strataframe.net/FindPost2532.aspx</link><description>Glad to hear it :)</description><pubDate>Tue, 29 Aug 2006 12:59:35 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Changing a properties name in BO mapper</title><link>http://forum.strataframe.net/FindPost2530.aspx</link><description>That worked great,&amp;nbsp; Thanks Trent</description><pubDate>Tue, 29 Aug 2006 12:34:22 GMT</pubDate><dc:creator>Scott</dc:creator></item><item><title>RE: Changing a properties name in BO mapper</title><link>http://forum.strataframe.net/FindPost2526.aspx</link><description>Scott,&lt;/P&gt;&lt;P&gt;Just copy the generated code for a field (BO.designer.cs&amp;nbsp;or BO.designer.vb&amp;nbsp;) and go back into the BO Mapper.&amp;nbsp; Selec the field in question and then click "Custom Code."&amp;nbsp; Paste the copied field property into the text box at the bottom.&amp;nbsp; Change the name in brackets to a different name but leave the name that is returned alone.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Public Property [&lt;FONT color=#ff1111&gt;ChangeThisValue&lt;/FONT&gt;] As String&lt;/P&gt;&lt;P&gt;This way when you rebuild your partials it will not overwrite your changes.&amp;nbsp; This way you can just change the name of the field while still referencing the old field name internally.</description><pubDate>Tue, 29 Aug 2006 12:11:55 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>