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 8998747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:04:38+00:00 2026-06-16T00:04:38+00:00

I am using Linq2Sql to access my database which is fairly large. (67 tables)

  • 0

I am using Linq2Sql to access my database which is fairly large. (67 tables)
It’s quite a pain in the butt to work with currently because it takes ages for the “MSLinqToSQLGenerator” to generate it’s classes and finally finish compiling.

Are there any ways to speed up that process?
Like, is it possible to cache its generated output as I’m rarely touching the databasestructure?

Thank you for reading.

  • 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-06-16T00:04:39+00:00Added an answer on June 16, 2026 at 12:04 am

    Moving your model to a separate assembly.

    When your model is included directly in your application’s project and you generate views through a pre-build event or a T4 template, view generation and validation will take place whenever the project is rebuilt, even if the model wasn’t changed.

    If you move the model to a separate assembly and reference it from your application’s project, you can make other changes to your application without needing to rebuild the project containing the model.

    Note: when moving your model to separate assemblies remember to copy the connection strings for the model into the application configuration file of the client project.

    For more Information Check Performance Considerations for Entity Framework

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

Sidebar

Related Questions

I'm using Linq2Sql with pipes/filters. My database consists of Accounts and Transactions tables where
We are using C# and Linq2SQL to get data from a database for some
I'm using DbLinq which should be the equivalent of Linq2SQL for this question. I'm
I am using Linq2Sql and want to bind an objects field (which is enum)
I am doing a CRUD operation on Database generated class(using LINQ2SQL) in my WPF
I'm writing a pretty straightforward ASP.net project. It's using a Linq2Sql DataContext to access
I am using LINQ2SQL in my current project. I have a quite a lot
I have implemented Change Tracking (http://msdn.microsoft.com/en-us/library/cc280462.aspx) on some tables I am using Linq2Sql on.
So an application I work on currently uses Linq2SQL and maps classes 1-1 to
I've a problem with saving changes to database, I'm using LINQ2SQL mapping. I've implemented

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.