title: Retrieve Data from Windows Azure Storage
body: <p>How do I query my Windows Azure Storage such as:</p>
  
  <pre><code>(SELECT Name FROM User WEHRE DeviceID = App.Current.DeviceID)  
  </code></pre>
  
  <p><strong>Tried this, didn't seem to work</strong></p>
  
  <pre><code>var Name = await App.MobileService.GetTable&lt;User&gt;()
      .Select(User =&gt; User.Name)
      .Where(User =&gt; User.DeviceID == App.Current.DeviceID); 
  </code></pre>
  
  <p><strong>But I could query the table based on the id</strong>  </p>
  
  <pre><code> var Name = await App.MobileService.GetTable&lt;User&gt;().LookupAsync(id);
  </code></pre>
  
  <p>Is there a similar method to query the table based on string(eg. phone DeviceID) instead of an integer id?  </p>
  
  <p><strong>User Class</strong></p>
  
  <pre><code>public class User
      {
          public int Id { get; set; }
          public string Name { get; set; }
          public string DeviceID { get; set; }
      }
  </code></pre>