Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ado.SqlQuery Page #28

Closed
itlizhi opened this issue Aug 11, 2017 · 1 comment
Closed

Ado.SqlQuery Page #28

itlizhi opened this issue Aug 11, 2017 · 1 comment

Comments

@itlizhi
Copy link

itlizhi commented Aug 11, 2017

Hi, 有没有一个 Ado.SqlQuery 的分页方法。

@DotNetNext
Copy link
Owner

var getAll = db.Queryable().AS("(select * from [student]) t").ToPageList(1,2);

表名一定要加 [] 关键词,MYSQL就加MYSQL的关键 词

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants