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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:05:18+00:00 2026-05-15T23:05:18+00:00

I am new to LINQ. I am using Visual Studio 2008 and have created

  • 0

I am new to LINQ. I am using Visual Studio 2008 and have created a “LINQ to SQL Classes” (.dbml) file in my project. I’ve added each of my database tables to the design view and everything works fine.

My question is this: When a change to a table’s design has been made in the database, i.e. fields added, how do you update the classes to reflect the changes? Do you have to delete the table from the dbml design view and drag it back onto the design view surface each time a table gets changed? It seems like there should be a better way, or that the table classes should dynamically update themselves with new fields added/removed. The table classes do not seem to notice/update/refresh the table changes on their own.

Thanks in advance for any advice you can offer!

  • 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-15T23:05:19+00:00Added an answer on May 15, 2026 at 11:05 pm

    There are a number of ways to deal with that. The built-in way is to edit manually, or to remove the affected tables from the diagram and re-add them, or to re-generate the entire DBML file with the designer or with SQLMetal. The drawback is that any customizations (changed class/property names etc) you may have done need to be re-done every time.

    Alternatively, there are third-party add-ons that provide sync functionality. My company makes one of those tools, you can read more about it, download, and get a trial license at http://www.huagati.com/dbmltools/

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

Sidebar

Related Questions

I am using Visual Studio 2010, and I have a LINQ-to-SQL DBML file that
I have created a Area class using Linq-to-SQL. Now I want to create a
I'm quite new to Visual Basic - using Visual Studio 2008 and can't seem
Right now i'm exploring LINQ-to-SQL using Visual Studio 2010 beta. I'm trying to understood
I'm using Visual Web Developer 2010 Express and SQL Server 2008 R2 Management Studio
I have a MVC 2 project, using Entity Framework, in Visual Studio 2010 and
I am using visual studio 2010, (desktop application) and using LINQ to SQL to
I have to develop Windows C# application, using Visual Studio 2008. It have dynamical
I have an WinForms application that is deployed using Visual Studio 2008's publish (ClickOnce)
using Visual.Web.Developer.2010.Express; using SQL.Server.Management.Studio.2008.R2; What I'm ultimately trying to do is update a sql

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.