Sometimes, we want to write the sql statement, or even a stored procedure query, although the efficiency is not high (sometimes not efficiency-oriented).
Using AsTable
var sql = fsql.Select<UserX>()
.AsTable((a, b) => "(select * from user where clicks > 10)")
.Page(1, 10).ToList();
AsTable itself is used for sub-sub-library table, then we will follow-up talk.
Friendly reminder: When turned on automatically synchronize structure and function, UserX may not require synchronization, how do? The venue "Entity properties" article explains.