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.
我需要添加类似'with(index(PK_SomethingObjects))' 的提示来优化我的查询。
如何在 linq2sql 中添加它?
简短的回答,你没有。如果您绝对必须使用提示,请创建一个视图并将其添加到您的DataContext.
DataContext