문제

I am retrieving all tables, and make sql. But I want something that can handle Take, Skip. Differences between databases.

도움이 되었습니까?

해결책

Skip/take/similar are mapper functions... If you don't know the schema you can't have a model to map to, really. Ultimately, then, I suspect you're looking at more general tools like SQL and DataTable (storing data from an unknown schema is one of the very few uses I have for DataTable). This won't have skip/take, but most databases have a SQL way of doing that (for example, row-number in SQL server).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top