سؤال

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