title: Entity Framework - Select Single Column with Null Check
body: <p>Trying below query to select value from single column in Entity Framework, but it is throwing exception when <strong>ColumnA</strong> is having Null value.</p>
  
  <pre><code>string test = dbContext.TABLE.Where(p =&gt; p.A== A).Select(x =&gt; x.ColumnA).SingleOrDefault().ToString();
  </code></pre>
  
  <p>I want to select some default value or assign null to string test if ColumnA is Null.</p>