哪些ORM工具支持这个版本的Queryable.Select扩展方法 [英] Which ORM tools support this version of Queryable.Select extension method

查看:125
本文介绍了哪些ORM工具支持这个版本的Queryable.Select扩展方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你知道一个ORM支持这个扩展方法:

Do you know an ORM supporting this extension method:

public static IQueryable<TResult> Select<TSource, TResult>(
  this IQueryable<TSource> source, 
  Expression<Func<TSource, int, TResult>> selector)

基本上,它允许行数(结果在序列的索引)添加到投影。其用法与例的IEnumerable 是<一个href="http://stackoverflow.com/questions/269058/how-do-you-add-an-index-field-to-linq-results">here.但是,同样的方法存在的IQueryable

Basically, it allows to add row number (index of result in sequence) to the projection. Example of its usage with IEnumerable is here. But the same method exists for IQueryable.

所以,我很好奇,有没有什么ORM工具,它支持这种方法?

So I'm curious, is there any ORM tool that supports this method?

这个问题实际上是涉及到这个

The question is actually related to this one.

推荐答案

没有实例,所以极有可能不存在这样的ORM。

No examples, so most likely there is no such ORM.

这篇关于哪些ORM工具支持这个版本的Queryable.Select扩展方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆