<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Setting NULL into a column</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Setting NULL into a column</description>
  <pubDate>Sat, 11 Apr 2026 12:38:24 -700</pubDate>
  <lastBuildDate>Wed, 04 Feb 2009 10:45:10 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1074</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Setting NULL into a column : Good question. The schedule is...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1074&amp;PID=3863#3863</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1074<br /><strong>Posted:</strong> 04-Feb-2009 at 10:45am<br /><br />Good question.&nbsp; The schedule is currently under discussion, but it will be 2 - 6 weeks (with engineering voting for 2 weeks).&nbsp; I'll post again once we have a firm date, or you can contact support directly if I'm remiss.]]>
   </description>
   <pubDate>Wed, 04 Feb 2009 10:45:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1074&amp;PID=3863#3863</guid>
  </item> 
  <item>
   <title>Setting NULL into a column : OK, for the time being I&amp;#039;ll...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1074&amp;PID=3862#3862</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=86" rel="nofollow">dkearney1</a><br /><strong>Subject:</strong> 1074<br /><strong>Posted:</strong> 04-Feb-2009 at 10:40am<br /><br />OK, for the time being I'll add records to the FundSource table that represent the lack of a fund source and wait for the fix.<br /><br />How tentative is "tentatively scheduled" ?]]>
   </description>
   <pubDate>Wed, 04 Feb 2009 10:40:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1074&amp;PID=3862#3862</guid>
  </item> 
  <item>
   <title>Setting NULL into a column : Dan,  Sorry, your first post...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1074&amp;PID=3861#3861</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1074<br /><strong>Posted:</strong> 04-Feb-2009 at 9:41am<br /><br /><P>Dan,&nbsp; </P><DIV>Sorry, your first post somehow slipped by us.</DIV><DIV>&nbsp;</DIV><DIV>This problem is actually due to a bug, which we fixed in early January.&nbsp; Unfortunately, we haven't had a release since December, so this is no help to you right now.&nbsp; The next release is tentatively scheduled for late this month (February).&nbsp; </DIV>]]>
   </description>
   <pubDate>Wed, 04 Feb 2009 09:41:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1074&amp;PID=3861#3861</guid>
  </item> 
  <item>
   <title>Setting NULL into a column : Any help? </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1074&amp;PID=3859#3859</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=86" rel="nofollow">dkearney1</a><br /><strong>Subject:</strong> 1074<br /><strong>Posted:</strong> 04-Feb-2009 at 5:55am<br /><br />Any help?]]>
   </description>
   <pubDate>Wed, 04 Feb 2009 05:55:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1074&amp;PID=3859#3859</guid>
  </item> 
  <item>
   <title>Setting NULL into a column : I can&amp;#039;t believe I&amp;#039;m...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1074&amp;PID=3845#3845</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=86" rel="nofollow">dkearney1</a><br /><strong>Subject:</strong> 1074<br /><strong>Posted:</strong> 28-Jan-2009 at 12:05pm<br /><br />I can't believe I'm not getting this.<br /><br />I've got a table ContractFunds, with a nullable column FundSource, which refers to a FundSource table.  The ServerModel and DomainModel entities exist and have no interesting bits.<br /><br />I create ContractFund record by hand, having NULL in the FundSource column, and having retrieved this record via IdeaBlade, the FundSource property is (correctly) a NullEntity (IsNullEntity == true).  I continue by retrieving an appropriate FundSource, set it into the ContractFund, save, and the record in the database is updated.  Now I want to undo that last action.  I retrieve the ContractFund, set the FundSource to null, which appears to have the desired effect, but after the save the record in the database still has a value in the FundSource column.  I know the save worked because the housekeeping columns have updated.  When I crank up the Profiler, the update statement shows the housekeeping columns being updated, but the changes to the FundSource column aren't there.<br /><br />Here's the code:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Contract testContract = Contract.Get(em, 7);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ContractFund fund = testContract.ContractFunds&#091;0&#093;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FundSource fundSource = fund.FundSource;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (fundSource.EntityAspect.IsNullEntity)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FundSource newSource = FundSource.Get(em, "FAA");<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fund.FundSource = newSource;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fund.FundSource = null;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (em.HasChanges())<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;em.SaveChanges();<br /><br />What am I missing?]]>
   </description>
   <pubDate>Wed, 28 Jan 2009 12:05:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1074&amp;PID=3845#3845</guid>
  </item> 
 </channel>
</rss>