Page 1 of 1

oradirect EDM not support (Linq).Last()?

Posted: Fri 17 Oct 2008 01:49
by wangmjj
var kz=(from kzs in _db.KZ
where kzs.firstname=="wangmjj"
order by kzs.firstname
select kzs).Last();
?????

Posted: Fri 17 Oct 2008 09:46
by Shalex
The Last() method is not supported in LINQ to Entities. Please refer to http://forums.microsoft.com/MSDN/ShowPo ... 1&SiteID=1