Why is the query operator 'ElementAt' is not supported in LINQ to SQL?
问题 In LINQ to SQL, I get the exception " The query operator 'ElementAt' is not supported. " When trying to use the ElementAt extension method on an IQueryable returned from a LINQ to SQL query. Here is the stack trace: at System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc) at System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc) at System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) at System.Data.Linq