Accepted answer

skip and take are translated to the equivalents in sql which limit on rows and since you are eager fetching with joins there isn't much you can do about it.

to eager fetch the first 15 books you need to:

var all = session.query<book>()

var ids = =>;

// fetch all authors of the books, now the books in all have initialized authors
    .where(b => ids.contains(
    .fetchmany(books => books.authors)

this has 2 roundtrips though

update: one roundtrip with queryover, maybe you can translate into linq

var subquery = queryover.of<book>()
    .select(b =>;

var all = session.queryover<book>()
    .withsubquery.whereproperty(b =>
    .fetch(books => books.authors).eager


var data = session.queryover<employeedetails>()
                                  .where(x => x.salary > 2000)
                //if take is before skip then it will skip the last (mentioned digits) rows
                //if take is after skip then it will skip the first (mentioned digits) rows

Related Query

More Query from same tag