<?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 : How can I make ORM Mapper to start using Nullable&lt;&gt; types in the generated code in case of an existing solution (which uses System.Objects)?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : How can I make ORM Mapper to start using Nullable&lt;&gt; types in the generated code in case of an existing solution (which uses System.Objects)?</description>
  <pubDate>Sat, 11 Apr 2026 01:12:50 -700</pubDate>
  <lastBuildDate>Wed, 28 Aug 2013 16:24:39 -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=4294</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>How can I make ORM Mapper to start using Nullable&lt;&gt; types in the generated code in case of an existing solution (which uses System.Objects)? : Yes, it&amp;#039;s the &amp;#034;Use Generics&amp;#034;...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4294&amp;PID=16777#16777</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> 4294<br /><strong>Posted:</strong> 28-Aug-2013 at 4:24pm<br /><br />Yes, it's the "Use Generics" switch which controls whether "Nullable&lt;DateTime&gt;" or "object" is used when the property allows nulls.&nbsp; The default for this switch is true, so you might have an older model or you switched it off for some other reason.&nbsp;&nbsp; If you're using .NET 4 then there's probably no reason you can't turn generics on for all your entities.<DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>Also, all entity code except the "developer class" will be re-written when the entity is marked as modified in the ORM Designer.</DIV>]]>
   </description>
   <pubDate>Wed, 28 Aug 2013 16:24:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4294&amp;PID=16777#16777</guid>
  </item> 
  <item>
   <title>How can I make ORM Mapper to start using Nullable&lt;&gt; types in the generated code in case of an existing solution (which uses System.Objects)? : I&amp;#039;m looking at the IdeaBlade...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4294&amp;PID=16776#16776</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1737" rel="nofollow">ctoth</a><br /><strong>Subject:</strong> 4294<br /><strong>Posted:</strong> 28-Aug-2013 at 3:35pm<br /><br />I'm looking at the IdeaBlade ORM source code. In our existing solution the "Use Generics"option is off. This maybe the cause. I'm looking at line 514 of EntityBaseclass_cs.template. The System.Object type getter is used if "&lt;?includeif&nbsp;../@useGenerics='false'&nbsp;?&gt;".<br>]]>
   </description>
   <pubDate>Wed, 28 Aug 2013 15:35:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4294&amp;PID=16776#16776</guid>
  </item> 
  <item>
   <title>How can I make ORM Mapper to start using Nullable&lt;&gt; types in the generated code in case of an existing solution (which uses System.Objects)? :  Ok, I edited my post and clarified...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4294&amp;PID=16775#16775</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1737" rel="nofollow">ctoth</a><br /><strong>Subject:</strong> 4294<br /><strong>Posted:</strong> 28-Aug-2013 at 1:57pm<br /><br />Ok, I edited my post and clarified things.<br><br>In the Mapping Miscellanea section of the IdeaBlade DevForce Developers Guide:<br><br><!--if gte mso 9> <o:Properties>  <o:Author>Greg Dunn</o:Author>  <o:Versi&#111;n>14.00</o:Versi&#111;n> </o:Properties> <o:OfficeSettings>  <o:AllowPNG/> </o:OfficeSettings><!--><p ="default"=""><b><span style="font-size:14.0pt">"Properties of Nullable DataColumns </span></b><span style="font-size:14.0pt"></span></p><p ="default"=""><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Thedata column that feeds a business object property might allow null values. Theorder's &#091;ShipDate&#093; won't have a value until the order is shipped so thedatabase d</span><span style="font-size:9.0pt;font-family:&quot;Lucida C&#111;nsole&quot;;  mso-bidi-font-family:&quot;Lucida C&#111;nsole&quot;">atetime </span><span style="font-size:  10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">column for the ship date allowsnulls</span><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">. </span></p><p ="default"=""><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">However,the .NET </span><span style="font-size:9.0pt;font-family:&quot;Lucida C&#111;nsole&quot;;  mso-bidi-font-family:&quot;Lucida C&#111;nsole&quot;">DateTime </span><span style="font-size:  10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">type is a value type. It can't benull. Only reference types can be null. Which means the order propertycorresponding to the ship date cannot be a </span><span style="font-size:9.0pt;  font-family:&quot;Lucida C&#111;nsole&quot;;mso-bidi-font-family:&quot;Lucida C&#111;nsole&quot;">DateTime </span><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">type. </span></p><p ="default"=""><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Thiswas a serious problem in .NET 1.1. The predecessor to DevForce worked aroundthat problem. The Object Mapper made the property an </span><span style="font-size:9.0pt;font-family:&quot;Lucida C&#111;nsole&quot;;mso-bidi-font-family:&quot;Lucida C&#111;nsole&quot;">Object</span><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">typeand marked the property with an attribute that said it was a date.Unfortunately, it takes reflection to read an attribute. Developers had towrite guard code to watch out for nulls and to make sure no one tried to setthe ship date with something awful – like a string. </span></p><p ="ms&#111;normal"=""><span style="font-size:10.0pt;line-height:115%;font-family:  &quot;Times New Roman&quot;,&quot;serif&quot;">.NET 2.0 introduced nullable types</span><span style="font-size:6.5pt;line-height:115%;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"></span><span style="font-size:10.0pt;line-height:115%;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">.Now our programs can tell that </span><span style="font-size:9.0pt;line-height:  115%;font-family:&quot;Lucida C&#111;nsole&quot;;mso-bidi-font-family:&quot;Lucida C&#111;nsole&quot;">ShipDate</span><span style="font-size:10.0pt;line-height:115%;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">issupposed to be a </span><span style="font-size:9.0pt;line-height:115%;  font-family:&quot;Lucida C&#111;nsole&quot;;mso-bidi-font-family:&quot;Lucida C&#111;nsole&quot;">DateTime </span><span style="font-size:10.0pt;line-height:115%;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">andensure at compile time that its value is either null or a </span><span style="font-size:9.0pt;line-height:115%;font-family:&quot;Lucida C&#111;nsole&quot;;  mso-bidi-font-family:&quot;Lucida C&#111;nsole&quot;">DateTime</span><span style="font-size:  10.0pt;line-height:115%;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">. Our code iscleaner, clearer, and more testable which means it can be more reliable."</span></p><!--if gte mso 9> <w:Word>  <w:View>Normal</w:View>  <w:Zoom>0</w:Zoom>  <w:TrackMoves/>  <w:Trackatting/>  <w:Punctuati&#111;nKerning/>  <w:ValidateAgainstSchemas/>  <w:SaveIfInvalid>false</w:SaveIfInvalid>  <w:IgnoreMixed>false</w:IgnoreMixed>  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>  <w:D&#111;notPromoteQF/>  <w:LidThemeOther>EN-US</w:LidThemeOther>  <w:LidThemeAsian>X-NONE</w:LidThemeAsian>  <w:LidThemeComplex>X-NONE</w:LidThemeComplex>  <w:Compatibility>   <w:BreakWrappedTables/>   <w:SnapToGridInCell/>   <w:WrapTextWithPunct/>   <w:UseAsianBreakRules/>   <w:D&#111;ntGrowAutofit/>   <w:SplitPgBreakAndark/>   <w:EnableKerning/>   <w:D&#111;ntFlipMirrorIndents/>   <w:OverrideTableStyleHps/>  </w:Compatibility>  <m:mathPr>   <m:mathFont m:val="Cambria Math"/>   <m:brkBin m:val="before"/>   <m:brkBinSub m:val="&amp;#45;-"/>   <m:smallFrac m:val="off"/>   <m:dispDef/>   <m:lMargin m:val="0"/>   <m:rMargin m:val="0"/>   <m:defJc m:val="centerGroup"/>   <m:wrapIndent m:val="1440"/>   <m:intLim m:val="subSup"/>   <m:naryLim m:val="undOvr"/>  </m:mathPr></w:Word><!--><!--if gte mso 9> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"    DefSemi="true" DefQat="false" DefPriority="99"    LatentStyleCount="267">  <w:LsdExcepti&#111;n Locked="false" Priority="0" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Normal"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="ing 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 7"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 8"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 9"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 7"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 8"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 9"/>  <w:LsdExcepti&#111;n Locked="false" Priority="35" Qat="true" Name="capti&#111;n"/>  <w:LsdExcepti&#111;n Locked="false" Priority="10" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Title"/>  <w:LsdExcepti&#111;n Locked="false" Priority="1" Name="Default Paragraph Font"/>  <w:LsdExcepti&#111;n Locked="false" Priority="11" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtitle"/>  <w:LsdExcepti&#111;n Locked="false" Priority="22" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Str&#111;ng"/>  <w:LsdExcepti&#111;n Locked="false" Priority="20" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="59" Semi="false"     UnhideWhenUsed="false" Name="Table Grid"/>  <w:LsdExcepti&#111;n Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>  <w:LsdExcepti&#111;n Locked="false" Priority="1" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="No Spacing"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" UnhideWhenUsed="false" Name="Revisi&#111;n"/>  <w:LsdExcepti&#111;n Locked="false" Priority="34" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="List Paragraph"/>  <w:LsdExcepti&#111;n Locked="false" Priority="29" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Quote"/>  <w:LsdExcepti&#111;n Locked="false" Priority="30" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Quote"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="19" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtle Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="21" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="31" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtle Reference"/>  <w:LsdExcepti&#111;n Locked="false" Priority="32" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Reference"/>  <w:LsdExcepti&#111;n Locked="false" Priority="33" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Book Title"/>  <w:LsdExcepti&#111;n Locked="false" Priority="37" Name="Bibliography"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Qat="true" Name="TOC ing"/> </w:LatentStyles><!--><!--if gte mso 10> /* Style Definitions */ table.MsoNormalTable	{mso-style-name:"Table Normal";	mso-tstyle-rowband-size:0;	mso-tstyle-colband-size:0;	mso-style-noshow:yes;	mso-style-priority:99;	mso-style-parent:"";	mso-padding-alt:0in 5.4pt 0in 5.4pt;	mso-para-margin-top:0in;	mso-para-margin-right:0in;	mso-para-margin-bottom:10.0pt;	mso-para-margin-left:0in;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}<!--><br><span style="font-size:10px"><br /><br />Edited by ctoth - 28-Aug-2013 at 1:59pm</span>]]>
   </description>
   <pubDate>Wed, 28 Aug 2013 13:57:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4294&amp;PID=16775#16775</guid>
  </item> 
  <item>
   <title>How can I make ORM Mapper to start using Nullable&lt;&gt; types in the generated code in case of an existing solution (which uses System.Objects)? :         If I look into...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4294&amp;PID=16774#16774</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1737" rel="nofollow">ctoth</a><br /><strong>Subject:</strong> 4294<br /><strong>Posted:</strong> 28-Aug-2013 at 11:19am<br /><br />If I look into our business objects we have two types of System.DateTime properties. One part of them are "Nullable" and "Source Nullable", the others are not nullable. The generated DataRow classes for the former ones contain raw System.Object properties:<br><pre style="font-family:C&#111;nsolas;font-size:13;color:black;:white;">&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:gray;">///</span><span style="color:green;">&nbsp;</span><span style="color:gray;">&lt;summary&gt;</span><span style="color:green;">Gets&nbsp;or&nbsp;sets&nbsp;the&nbsp;ActivityDate.</span><span style="color:gray;">&lt;/summary&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&#091;<span style="color:#2b91af;">DBDataType</span>(<span style="color:blue;">typeof</span>(System.DateTime))&#093;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;<span style="color:blue;">virtual</span>&nbsp;<span style="color:#2b91af;">Object</span>&nbsp;ActivityDate&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">get</span>&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#2b91af;">Object</span>&nbsp;result_;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">if</span>&nbsp;(GetInterceptor&lt;<span style="color:#2b91af;">Object</span>&gt;(<span style="color:#a31515;">"ActivityDate"</span>,&nbsp;GetActivityDateImpl,&nbsp;<span style="color:blue;">out</span>&nbsp;result_))&nbsp;<span style="color:blue;">return</span>&nbsp;result_;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">return</span>&nbsp;GetActivityDateImpl();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">set</span>&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">if</span>&nbsp;(!SetInterceptor&lt;<span style="color:#2b91af;">Object</span>&gt;(<span style="color:#a31515;">"ActivityDate"</span>,&nbsp;<span style="color:blue;">value</span>,&nbsp;SetActivityDateImpl))&nbsp;{           &nbsp; SetActivityDateImpl(<span style="color:blue;">value</span>);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;<span style="color:#2b91af;">Object</span>&nbsp;GetActivityDateImpl()&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">return</span>&nbsp;GetColumnValue(ActivityDateColumn,&nbsp;<span style="color:blue;">typeof</span>(System.DateTime),&nbsp;<span style="color:blue;">true</span>);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;<span style="color:blue;">void</span>&nbsp;SetActivityDateImpl(<span style="color:#2b91af;">Object</span>&nbsp;value)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SetColumnValue(ActivityDateColumn,&nbsp;value);&nbsp;&nbsp;&nbsp;&nbsp;}</pre>while the latter ones are typed:<br><pre style="font-family:C&#111;nsolas;font-size:13;color:black;:white;">&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:gray;">///</span><span style="color:green;">&nbsp;</span><span style="color:gray;">&lt;summary&gt;</span><span style="color:green;">Gets&nbsp;or&nbsp;sets&nbsp;the&nbsp;DeletedDateTime.</span><span style="color:gray;">&lt;/summary&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&#091;<span style="color:#2b91af;">DBDataType</span>(<span style="color:blue;">typeof</span>(System.DateTime))&#093;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;<span style="color:blue;">virtual</span>&nbsp;System.DateTime&nbsp;DeletedDateTime&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">get</span>&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.DateTime&nbsp;result_;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">if</span>&nbsp;(GetInterceptor&lt;System.DateTime&gt;(<span style="color:#a31515;">"DeletedDateTime"</span>,&nbsp;GetDeletedDateTimeImpl,&nbsp;<span style="color:blue;">out</span>&nbsp;result_))&nbsp;<span style="color:blue;">return</span>&nbsp;result_;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">return</span>&nbsp;GetDeletedDateTimeImpl();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">set</span>&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">if</span>&nbsp;(!SetInterceptor&lt;System.DateTime&gt;(<span style="color:#a31515;">"DeletedDateTime"</span>,&nbsp;<span style="color:blue;">value</span>,&nbsp;SetDeletedDateTimeImpl))&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SetDeletedDateTimeImpl(<span style="color:blue;">value</span>);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;System.DateTime&nbsp;GetDeletedDateTimeImpl()&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">return</span>&nbsp;(System.DateTime)&nbsp;GetColumnValue(DeletedDateTimeColumn,&nbsp;<span style="color:blue;">typeof</span>(System.DateTime),&nbsp;<span style="color:blue;">false</span>);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;<span style="color:blue;">void</span>&nbsp;SetDeletedDateTimeImpl(System.DateTime&nbsp;value)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SetColumnValue(DeletedDateTimeColumn,&nbsp;value);&nbsp;&nbsp;&nbsp;&nbsp;}<br></pre>All these are generated. As far as I know the reason for this is that in early version of .NET there weren't nullable types, and DateTime is a value type. Nowadays if we create a new solution and new business objects if we map a DateTime column which is nullable in the DB, then IdeaBlade generates nullable C# datetime (using the Nullable&lt;System.DateTime&gt; notation AFAIK). Same with othe value types, a nullable integer in the DB will be mapped to Nullable&lt;Int32&gt;. However, our existing solution keeps using the old methods, RAW object types.<br>Our big solution used .NET 3.5 for a while, and now we use .NET 4.0. So we could happily take advantage of nullable types in C#.<br><br>My questions:<br>1. Is there a switch somewhere, which could trigger IdeaBlade ORM mapper to use the Nullable&lt;&gt; notation in our existing solution?<br>2. Or can I mark/trigger certain fields in the ORM Relationship Mapper tool so they get regenerated into Nullable&lt;System.DateTime&gt;? (This way I could "fix" the raw objects to become System.DateTime).<br><br><span style="font-size:10px"><br /><br />Edited by ctoth - 28-Aug-2013 at 3:28pm</span>]]>
   </description>
   <pubDate>Wed, 28 Aug 2013 11:19:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4294&amp;PID=16774#16774</guid>
  </item> 
 </channel>
</rss>