title: NHibernate 2.* mapping files: how to define nullable DateTime type (DateTime?)?
body: <p>I know one of the breaking changes with NHibernate 2.* is that the NHibernate.Nullables are no longer supported. Therefore, what do you use in your mapping file to map the nullable DateTime? type? For i.e.:</p>
  
  <p>Understandably doesn't work:</p>
  
  <pre><code>&lt;property name="CreateDate" column="CreateDate" type="DateTime?" not-null="false" /&gt;
  </code></pre>
  
  <p>And no longer supported:        </p>
  
  <pre><code>&lt;property name="ModifiedDate" column="ModifiedDate" type="Nullables.NHibernate.NullableDateTimeType, Nullables.NHibernate" not-null="false"/&gt;
  </code></pre>
  
  <p>I know it must be so obvious, but I'm not finding it!</p>
  
  <p>Answer is as simple as:
  NHibernate will reflect over the class in question and discover that the property's reflected type is DateTime? all on its own.</p>
  
  <p>Thanks @Justice!</p>