Ben bir hata alıyorumBu hatayı C# nasıl çözebilirim? Aşağıdaki kodu kullanırken
var v1 = from P in db1.QuranWordsNews where P.Aye == perId select P;
var vv = v1.LastOrDefault(); // The error occurs here
mesajı: varlıkları için
LINQ 'TashihQuran.QuranWordsNew LastOrDefaultQuranWordsNew' yöntem yöntemini tanımak ve bu değil yöntem bir mağaza ifadesine çevrilemez.
olası yinelenen (http://stackoverflow.com/questions/2170141/error-method-not-supported-by-linq-to-entities) – sloth
olası çift [LINQ To Tüzel Kişilerin yöntemi tanımıyor Son. Gerçekten?] (Http://stackoverflow.com/questions/7293639/linq-to-entities-does-not-recognize-the-method-last-really) –