Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7010585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:00:39+00:00 2026-05-27T22:00:39+00:00

I am using LINQ for my DB EF model. I have a particularly complex

  • 0

I am using LINQ for my DB EF model. I have a particularly complex logic to generate a report and I initially tried to create a view and access it using LINQ. The performance was quite low due to multiple joins and multiple sub queries in the view so now I am thinking of moving the logic to an SP which I believe will increase the performance.

I need to know if there are any known issues with using SP with LINQ in EF. And am I doing something wrong or anti-pattern. Please let me know if there are any alternatives too.

Regards,
Bhavik

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:00:39+00:00Added an answer on May 27, 2026 at 10:00 pm

    No you can always use stored procedure if that fits your requirement. LINQ queries performance may suffer as the queries get complex and stored procedure may help you. In the mean time you may revise your linq query and write an efficient one. I don’t think it is anti-pattern as you can find many resources no MSDN about using stored procedure with LINQ. As a reference I am quoting Scott Gu post here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just started a new project using a Linq to Sql model and
I have an ASP.NET MVC 3 Web Application using Linq-to-SQL for my data access
I am using c#.net and LINQ Within my LINQ model I have three database
I have a rather complex database, where we are using Linq to SQL. I'm
I'm using Linq to SQL within an ASP.NET MVC application. The model consists of
I'm using an ADO.NET Entity Model which I'm trying to query using LINQ. The
I was wondering what the correct-way is when using a Linq to Sql-model in
When using DataLoadOptions.LoadWith with ria services hooked up to a linq to sql model
Using LINQ to SQL, I have an Order class with a collection of OrderDetails.
I have a model withs Parents, Children and Grandchildren, in a many-to-many relationship. Using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.