title: How to Group By on the Vector Field
body: <p>I am working Linq Query, but I am not able to Group by with Vector field.</p>
  
  <p>and my Linq Query is like this..</p>
  
  <pre><code>var Query = (from a in Helper.db.AccountStatement
                               join b in Helper.db.BankAccount on a.BankAccId equals b.BankAccId
                               join c in Helper.db.BankBranch on b.BankBranchId equals c.BankBranchId
                               join d in Helper.db.Bank on c.BankId equals d.BankId
                               where b.AccType == AccType &amp;&amp; a.ActiveStatement == true &amp;&amp; b.ActiveAccount == true &amp;&amp; b.UserId == UserId
                               group new{ a,b,d} by new {b.BankAccId,d.Name,b.AccNumber,a.ClosingBalance,d.Logo} into h
                               select new clsFillBankSymmary
                               {
  
                                   BankAccountId = h.Key.BankAccId,
                                   BankName = h.Key.Name,
                                   BankAccountNo =h.Key.AccNumber,
                                   ClosingBalance = h.Key.ClosingBalance,
                                   BankLogo = (byte[])h.Key.VectorLogo.ToArray()
                               });
  
  
                      return Query;`
  </code></pre>
  
  <p>Thanks...!!!</p>