title: Computed Columns in EF using LINQ
body: <p>With the following code;</p>
  
  <pre><code>  using (var context = new FINSAT613Entities())
          {
              gridControl1.ForceInitialize();
  
  
  
              DateTime endtime= new DateTime(2013, 03, 29, 15, 49, 54);
              Text = "endtime:"+endtime.ToShortDateString();
  
  
              var query =
                  from A in context.A
                  join B in context.B on A.ID equals B.ID
                  join C in context.C on A.ID2 equals C.ID2
                  where A.endtime&gt; endtime &amp;&amp; A.Chk.StartsWith("320")
                  select new
                         {
                           A.ID,B.FOO,C.BAR etc...
                         };
  
  
              BindingSource.DataSource = query;
              gridControl1.DataSource = BindingSource;
          }
  </code></pre>
  
  <p>How can i add  computed columns to it?(multiples a.bar with b.foo for example) </p>
  
  <p>Tried using partial class but no luck with it.</p>
  
  <pre><code>    public partial class A
  {
      public decimal Calculated
      {
          get { return 15; }
      }
  }
  </code></pre>
  
  <p>The exact error i get is :</p>
  
  <p>{"The specified type member 'Computed' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported."}</p>