Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
var products = Product.GetPaged(1, 20);
错误:
'ROW_NUMBER' ....
我不认为 Subsonic 支持 SQL Server 2000 的分页(但我可能是错的)。您需要 SQL Server 2005 或 2008。
我猜 Subsonic 使用 CTE 或 ROWNUMBER() 语法。SQL2000 不支持这些