ali_kashani
شنبه 24 آبان 1393, 16:21 عصر
با سلام
میخواستم بدونم در Linq چطوری میتونم یک Table که از بانک گرفتم را برعکس کنم یعنی از پایین به بالا بشه
وقتی از
select p).Reverse().ToList();
متد Revers() استفاده می کنم این ایرادو میگیره
LINQ to Entities does not recognize the method 'System.Linq.IQueryable`1[TehranJavaher.Products] Reverse[Products](System.Linq.IQueryable`1[TehranJavaher.Products])' method, and this method cannot be translated into a store expression.
میخواستم بدونم در Linq چطوری میتونم یک Table که از بانک گرفتم را برعکس کنم یعنی از پایین به بالا بشه
وقتی از
select p).Reverse().ToList();
متد Revers() استفاده می کنم این ایرادو میگیره
LINQ to Entities does not recognize the method 'System.Linq.IQueryable`1[TehranJavaher.Products] Reverse[Products](System.Linq.IQueryable`1[TehranJavaher.Products])' method, and this method cannot be translated into a store expression.