How to update database designer with new database table mappings

Posted on 2014-08-21
Last Modified: 2014-08-28
I have inherited a C# application written in VS 2008.  The users have requested a change to one of the tables that is used for importing an excel file.  I have an *.xsd file that had the old mappings and I changed it to have the new mappings.  However, there is a designer.cs that has the old mappings.  There is a statement at the top of this .cs file that says it was generated by a tool and changing it is not advised.

How do I get that designer updated with the new column mappings?
Question by:sherbug1015
    LVL 32

    Expert Comment

    What designer? What .xsd? Can you elaborate your question.

    Accepted Solution

    This is a Linq to SQL project.  I think I figured it out.  I tried updating the dbml manually and that seems to update the code behind designer.

    Author Closing Comment

    The expert was asking for more information, meanwhile I figured it out for myself.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now