What is the simplest way to handle pagging with ormlite?

1,400 views
Skip to first unread message

Aaron Fischer

unread,
Jun 20, 2012, 5:47:00 PM6/20/12
to servic...@googlegroups.com
I checked cmd.Select<PipelineView>( plv => plv.iUserID == 1  ).Skip(0).Take(5) but this is run localy and not applied to the sql query sent to the db.
One other thing how can I trace ormlite's generated sql(see it in the command/output window)?

aicl

unread,
Jun 20, 2012, 8:09:06 PM6/20/12
to servic...@googlegroups.com

Muhammad Ali

unread,
Sep 10, 2013, 12:07:57 AM9/10/13
to servic...@googlegroups.com
The URL mentioned for the sample returns 404. Is there any other link for it?

Thanks!

Fabricio Carvalho Ferreira

unread,
Nov 23, 2013, 7:51:33 AM11/23/13
to servic...@googlegroups.com

Muhammad Ali

unread,
Nov 25, 2013, 12:58:56 AM11/25/13
to servic...@googlegroups.com
Thanks but that's me who asked and answered that question ;)


--
You received this message because you are subscribed to a topic in the Google Groups "ServiceStack .NET Open Source REST Web Services Framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/servicestack/fcObh8Nn2x8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to servicestack...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages