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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:54:48+00:00 2026-05-14T22:54:48+00:00

As I am working with the new database projects in VS2010, and as I

  • 0

As I am working with the new database projects in VS2010, and as I am learning LINQ to SQL, I am curious as to the best way to link the two groups of information so that when I update one, the other updates along with it.

From my research here at SO, as well as in Google, it appears the general rule of thumb is: “Build the database, and then create your LINQ to SQL classes.” Of course, if I make a change in my database, the LINQ to SQL doesn’t update automatically and I have to do it by hand. This is fairly simple right now as my database is small, but I am curious if there is an easier way for this to happen.

In addition, the LINQ to SQL tool is pretty nice. The ability to create tables, add associations, and even create inheritance is very simple. As my second question, I am curious as to whether or not VS2010 can work the other way – I design the database in the DBLM file and then link it back to my database project.

I appreciate any help with either of these two questions. I’m really interested in making this as easy as possible to reduce errors during development and improve the speed at which changes can be made.

  • 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-14T22:54:48+00:00Added an answer on May 14, 2026 at 10:54 pm

    Jason – We have built a mission critical L2S based application platform for our solar business. I was primarily responsible for building the back-end data access layer. Early on I realized that maintaining a .DBML was going to be a royal pain in the backside. Every time you add/update/delete objects in the schema, the DBML must be updated. And this isn’t always easy to do. My solution was to build our own code generator that generates our L2S classes, application level classes (a lightweight version of the L2S classes), and all the logic/DAL code. This way, each time we make a schema change, we just run the code generator and everything is created for us.

    I very much like L2S, but without our custom code generator, I think I would have pulled all my hair out by now. Besides, it seems that on occasion, the generated classes from the .DBML are just plain wrong.

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

Sidebar

Related Questions

I am new to Python, and I'm working on writing some database code using
So I'm getting a new job working with databases (Microsoft SQL Server to be
So I am new to working on web projects in general. I am working
In the course of my career I've noticed that developers working on new functionality
When working on developing new software i normally get stuck with the redundancy vs
I am working on a new project. Is there any benefit with going with
I am working in a new part of an existing system. What are the
I was working with a new C++ developer a while back when he asked
I'm working on a new project, a web application, where I need to focus
We are working with some new Cutting Tools that can have it's hardware parameters

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.