Best way of constructing dynamic sql queries in C#/.NET3.5?

后端 未结 12 2859
走了就别回头了
走了就别回头了 2021-02-15 11:25

A project I\'m working on at the moment involves refactoring a C# Com Object which serves as a database access layer to some Sql 2005 databases.

The author of the existe

12条回答
  •  囚心锁ツ
    2021-02-15 11:33

    I understand the potential of Linq but I have yet to see anyone try and do a Linq query of the complexity that Ben is suggesting

    the fairly complex sql statement (~10 joins, >10 sub selects, ~15-25 where conditions and GroupBy's)

    Does anyone have examples of large Linq queries, and any commentary on their manageability?

提交回复
热议问题