This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
using LightSpeed 4.0.1440.20769 It appears that the LightSpeed provider generates incorrect SQL for the following LINQ query.
which generates the following SQL (using the Sql 2008 provider)
) g1 WHERE RowNumber <= 5 Notice that the Order By is incorrect, it should be ordering on the count. If I plug this into a LinqToSql provider, the following (correct) sql is generated
Edit: Use correct LinqToSql query |
|
|
Thanks for reporting this - I have added in a fix for this which will be available in the next nightly build (20120710). This solves the issue on the repro cases I have looked at here so please let me know if you continue to see any issues after you have a chance to look at this against your solution.
|
|
|
Just installed it now; works great, thank you! |
|