title: linq on nullable datetime
body: <p>I have a table that has Time1 and Time2 (for the sake of example). Time2 allows for nulls.</p>
  
  <p>I have an object model and I want to have Time2 as nullable; so far I have this:</p>
  
  <pre><code>public Class MyModel{
     public DateTime Time1 {get;set;}
     public System.Nullable&lt;DateTime&gt; Time2 {get;set}
  }
  </code></pre>
  
  <p>When I go to my query, I have this:</p>
  
  <pre><code>var MyQuery = ...
     select new MyModel()
     { 
        Time2 = (a.Time2)
  </code></pre>
  
  <p>and here I'm wondering if I should have the SingleOrDefault operator? It's not showing in the intellisense. Howver, the intellisense is showing several other options, amongst whic are: HasValue, Value, GetValueOrDefault. </p>
  
  <p>Any ideas on what's the right one to choose from?</p>
  
  <p>Thanks</p>