Quantcast
Channel: sorgu da bir yanlış mı var?
Viewing all articles
Browse latest Browse all 10

sorgu da bir yanlış mı var?

$
0
0
var result = from i in _entity.Cevap_Soru
                         where i.SoruID == soruId
                         select new
                         {
                             i.Super
                         };
                return Convert.ToInt32(result);

burada şöyle bir hata çıkıyor.

'System.Data.Entity.Infrastructure.DbQuery`1[<>f__AnonymousType0`1[System.Nullable`1[System.Int32]]]' türündeki nesne 'System.IConvertible' türüne atılamadı.


ozdemiryazilim


Viewing all articles
Browse latest Browse all 10

Latest Images