Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以执行从列表到数据集的 LINQ 联接吗?这样做有什么注意事项吗?
前面有明显的性能问题,具体取决于连接每一边的大小,所以真正需要注意的是规模。
您无需进行任何转换,您可以像通常使用 LINQ 一样从数据集/表中选择行,并且只需包含一个“on”子句来告诉它如何将行与您的List<T>.
List<T>