﻿<?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?)  » Failure Building Partial Class</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:20 GMT</lastBuildDate><ttl>20</ttl><item><title>Failure Building Partial Class</title><link>http://forum.strataframe.net/FindPost13361.aspx</link><description>Hello &lt;br&gt;
Trying to build the partial class of a BO I'm getting the message shown in the attachment. I can't figure out where's the error. I checked the table and for example the mapping of the table in the Business Object Mapper Window is not correct, &lt;br&gt;
The column that header "Null Type"  saids that all the fields are not Nullable but in database table is the opposite of that.&lt;br&gt;
&lt;br&gt;
Is the  first time I see this kind error. The database was created using the Database Deployment Toolkit.&lt;br&gt;
&lt;br&gt;
I will try creating the table manually to see what happens.</description><pubDate>Sun, 13 Jan 2008 19:48:53 GMT</pubDate><dc:creator>Guillermo Vilas</dc:creator></item><item><title>RE: Failure Building Partial Class</title><link>http://forum.strataframe.net/FindPost13409.aspx</link><description>Guillermo,&lt;/P&gt;&lt;P&gt;I think that you have something else going on here.&amp;nbsp; The BOs work the same in an application as they would in a BO library.&amp;nbsp; So that you can troubleshoot where you are having a problem, create a new SF Application, add a BO, map it and build the project and you will see that it works without issue.&amp;nbsp; You can then start bringing over your BOs one at a time to see what the problem was.&amp;nbsp; It could be that your Windows App was not created as an SF application or you could be missing some references.&amp;nbsp; Regardless, it is always best to store your BOs in a library instead of the App assembly anyway.&amp;nbsp; Glad you got it going :)</description><pubDate>Sun, 13 Jan 2008 19:48:53 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Failure Building Partial Class</title><link>http://forum.strataframe.net/FindPost13397.aspx</link><description>Hello Ben&lt;/P&gt;&lt;P&gt;The "Null Type" topic was my mistake, sorry for that.&lt;BR&gt;I have the Business Object created in the same Windows Application and mapped to the DDT I also tested mapping it to the Development Sever with the same results.&lt;/P&gt;&lt;P&gt;So I created a Business object library apart from the Windows project and the added a new Business Object class. The result for the mapping was successful then. So I guess the mapping is not working if the class is inside the Windows project itself, at least for me.</description><pubDate>Sat, 12 Jan 2008 05:36:03 GMT</pubDate><dc:creator>Guillermo Vilas</dc:creator></item><item><title>RE: Failure Building Partial Class</title><link>http://forum.strataframe.net/FindPost13371.aspx</link><description>[quote]The column that header "Null Type" saids that all the fields are not Nullable but in database table is the opposite of that.[/quote] &lt;/P&gt;&lt;P&gt;Those are actually independent.&amp;nbsp; The value for the "Null Type" of the business object properties does not always match the value of the "Allow Nulls" in the database.&amp;nbsp; The "Null Type" for the BO field determines how the Get/Set of the field property will handle a DBNull.Value property that it encounters.&amp;nbsp; Those values are pulled from the StrataFrame database meta-data and are not retrieved from SQL Server.&lt;/P&gt;&lt;P&gt;As to the error you are receiving, I am not sure... Is the business object mapped to a DDT source or directly to SQL Server?&amp;nbsp;</description><pubDate>Fri, 11 Jan 2008 13:11:21 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>