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.
我正在检索所有表,并制作 sql。但我想要一些可以处理 Take, Skip 的东西。数据库之间的差异。
Skip/take/similar 是映射器功能......如果您不知道架构,您就无法拥有要映射到的模型,真的。最后,我怀疑您正在寻找更通用的工具,例如 SQL 和 DataTable(存储来自未知模式的数据是我对 DataTable 的极少数用途之一)。这不会有跳过/采取,但大多数数据库都有这样做的 SQL 方式(例如,SQL 服务器中的行号)。