次のEFクエリは、SQL Server Management Studioでは高速ですが、速度は遅くなります。このEF文を書き換えて実行時間を改善するにはどうすればよいですか?エンティティのフレームワークlinqがコードでは速度は遅くなりますが、SQL Server Management Studioでは高速です
Context.OfferQuotations
.Include(x => x.OfferRevision)
.Include(x => x.OfferRevision.OfferParameters)
.Include(x => x.OfferRevision.OfferParameters.Select(a => a.CostOfFundings.Select(i => i.OfferCostOfFunding.TermRange)))
.Where(x => x.Id == quotationId);
Management Studioで実行するクエリを表示してください –