﻿<?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 » Issues  » Business Object Mapper</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 08:26:24 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Business Object Mapper</title><link>http://forum.strataframe.net/FindPost11236.aspx</link><description>Glad to hear it :)</description><pubDate>Thu, 30 Aug 2007 09:18:57 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>Business Object Mapper</title><link>http://forum.strataframe.net/FindPost11197.aspx</link><description>From a business object designer file:&lt;br&gt;
&lt;br&gt;
[codesnippet]&lt;br&gt;
            _FieldNativeDbTypes.Add("ID_SPP", IBM.Data.DB2.DB2Type);&lt;br&gt;
            _FieldNativeDbTypes.Add("NM_SPP", IBM.Data.DB2.DB2Type);&lt;br&gt;
            _FieldNativeDbTypes.Add("ID_OWN_TYP", IBM.Data.DB2.DB2Type);&lt;br&gt;
[/codesnippet]&lt;br&gt;
&lt;br&gt;
It's not fully qualifying the DB2 data type. Each time I generate a new business object, I have to change it to the fully qualified type (i.e. IBM.Data.DB2.DB2Type.Integer) and cast it to the correct type.&lt;br&gt;
&lt;br&gt;
[codesnippet]&lt;br&gt;
            _FieldNativeDbTypes.Add("ID_SPP", (int)IBM.Data.DB2.DB2Type.Integer);&lt;br&gt;
[/codesnipppet]&lt;br&gt;
&lt;br&gt;
Any suggestions on a property I could change so that it puts the correct data into the auto-generated file (changing each line in each business object each time I rebuild the partial classes isn't going to cut it)?&lt;br&gt;
&lt;br&gt;
Thanks!&lt;br&gt;</description><pubDate>Thu, 30 Aug 2007 09:18:57 GMT</pubDate><dc:creator>PeterA</dc:creator></item><item><title>RE: Business Object Mapper</title><link>http://forum.strataframe.net/FindPost11222.aspx</link><description>[quote][b]Ben Chase (08/29/2007)[/b][hr][quote](changing each line in each business object each time I rebuild the partial classes isn't going to cut it)[/quote]&lt;br&gt;
&lt;br&gt;
Hehe, I would think not :) Unless you just love typing the same thing over and over again... &lt;br&gt;
&lt;br&gt;
Yeah, it's supposed to .ToString() the actual value, but for some reason, in the C# generator, it was .ToString()'ing the actual System.Type for it. Not sure why, but here's the fix for you.[/quote]&lt;br&gt;
&lt;br&gt;
Thanks Ben! That took care of the problem I was having.&lt;br&gt;</description><pubDate>Wed, 29 Aug 2007 13:21:39 GMT</pubDate><dc:creator>PeterA</dc:creator></item><item><title>RE: Business Object Mapper</title><link>http://forum.strataframe.net/FindPost11217.aspx</link><description>[quote](changing each line in each business object each time I rebuild the partial classes isn't going to cut it)[/quote]&lt;/P&gt;&lt;P&gt;Hehe, I would think not :)&amp;nbsp; Unless you just love typing the same thing over and over again... &lt;/P&gt;&lt;P&gt;Yeah, it's supposed to .ToString() the actual value, but for some reason, in the C# generator, it was .ToString()'ing the actual System.Type for it.&amp;nbsp; Not sure why, but here's the fix for you.</description><pubDate>Wed, 29 Aug 2007 10:51:02 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>