Can i convert from byte[] to String in Lambda?
<blockquote>
  <p>Additional information: LINQ to Entities does not recognize the method 'System.String ToString(System.Object)' method, and this method cannot be translated into a store expression.</p>
</blockquote>

<p>Ok, "ToString()" cannot be translated into a store expression, and error is clear. </p>

<p>This is my code:</p>

<pre><code> var narudzbe = db.Narudzbe
                  .Where(x =&gt; x.KupacID == id &amp;&amp; x.Status == true)
                  .Select(x =&gt; new NarudzbeVM()
                  {
                      BrojNarudzbe = x.BrojNarudzbe,
                      Datum = x.Datum,
                      KupacID = x.KupacID,
                      NarudzbaID = x.NarudzbaID,
                      Otkazano = x.Otkazano,
                      Status = x.Status,
                      StavkeNarudzbe = db.NarudzbaStavke
                                         .Where(y =&gt; y.NarudzbaID == x.NarudzbaID)
                                         .Select(z =&gt; new NarudzbaStavkeVM()
                                         {
                                             Kolicina = z.Kolicina,
                                             NarudzbaID = z.NarudzbaID,
                                             NarudzbaStavkaID = z.NarudzbaStavkaID,
                                             Proizvod = db.Proizvodi
                                                          .Select(t =&gt; new ProizvodTest()
                                                          {
                                                              Cijena = t.Cijena,
                                                              ProizvodID = t.ProizvodID,
                                                              JedinicaMjere = t.JediniceMjere.Naziv,
                                                              Naziv = t.Naziv, 
                                                              Sifra = t.Sifra, 
                                                              SlikaThumb = Convert.ToString(t.SlikaThumb)
                                                           })
                                                          .Where(k =&gt; k.ProizvodID == z.ProizvodID)
                                                          .FirstOrDefault()
                                         }).ToList()    
                   }).ToList();
</code></pre>

<p>I want to convert byte[] to string, since my class accept string for attribut "SlikaThumb". So,  </p>

<blockquote>
  <p>SlikaThumb = Convert.ToString(t.SlikaThumb)</p>
</blockquote>

<p>t.SlikaThumb is type of byte[]. Is there way to do it in lambda ? </p>