title: Linq replace null/empty value with another value
body: <p>In sql server I create views where I can check for null values and replace them with a default if I want (i.e.  ISNULL(PrimaryPhone, 'No Primary #') AS PrimaryPhone.  I used a lot of views in my asp.net web forms application, but I am now learning MVC 4 and want to start out right.</p>
  
  <p>I have a model, controller and view set up for my client table.  I would like to be able to replace null/empty values with ("Not Entered") or something like that.
  I believe this needs to go in the controller, please correct me if I'm wrong.</p>
  
  <p>I saw an example that uses hasvalue, but it is not available through intellisense.</p>
  
  <p>How would I replace empty/null values without using DefaultValue in my model?</p>
  
  <p>Thanks</p>
  
  <pre><code>var result = db.Clients.Select(x =&gt; new
          {
              CustomerID = x.CustomerID,
              UserID = x.UserID,
              FullName = x.FullName,
              EmailAdd = x.emailadd.DefaultIfEmpty("No Email"),....
  </code></pre>