title: How can I expand(inline) property in an expression(C# 4.0)?
body: <p>I have an expression of this form:</p>
  
  <pre><code>Expression&lt;Func&lt;ShowParticipant, bool&gt;&gt; expr = z =&gt; z.Show.OrgName == "xyz";
  </code></pre>
  
  <p>I need to convert/expand it to following form:</p>
  
  <pre><code>Expression&lt;Func&lt;ShowParticipant, bool&gt;&gt; expr = z =&gt; z.Show.Organization.Name == "xyz";
  </code></pre>
  
  <p>where <code>OrgName</code> property on <code>Show</code> entity resolves to <code>Organization.Name</code>. How can I achieve this assuming I need this to work in EF?  You can imagine <code>OrgName</code> defined in Show class as below - </p>
  
  <pre><code>public partial class Show
  {
      public string OrgName
      {
          get
          {
              return this.Organization.Name;
          }
          set
          {
              this.Organization.Name = value;
          }
      }
  }
  </code></pre>
  
  <p>Appreciate your response,</p>
  
  <p>Anand.</p>