【问题标题】:How can I add custom hint in Linq2Sql?如何在 Linq2Sql 中添加自定义提示?
【发布时间】:2012-03-07 21:42:52
【问题描述】:

我需要添加类似 'with(index(PK_SomethingObjects))' 的提示来优化我的查询。

如何在 linq2sql 中添加?

【问题讨论】:

    标签: linq-to-sql query-optimization hint


    【解决方案1】:

    简短的回答,你不知道。如果您绝对必须使用提示,请创建一个视图并将其添加到您的 DataContext

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-10-12
      • 1970-01-01
      • 2011-12-15
      • 1970-01-01
      • 1970-01-01
      • 2014-10-30
      • 2012-10-21
      • 1970-01-01
      相关资源
      最近更新 更多