/// <summary> /// Selecter 快速 PagingListAsync 方法 /// </summary> public static async Task <PagingList <VM> > PagingListAsync <M, VM>(this IDbConnection conn, PagingQueryOption option, Expression <Func <M, VM> > columnMapFunc) where M : class where VM : class { return(await conn.Selecter <M>().Where(option).PagingListAsync <VM>(option, columnMapFunc)); }
/// <summary> /// Selecter 快速 PagingListAsync 方法 /// </summary> public static async Task <PagingList <M> > PagingListAsync <M>(this IDbConnection conn, PagingQueryOption option) where M : class { return(await conn.Selecter <M>().Where(option).PagingListAsync(option)); }