Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / February 2008

Tip: Looking for answers? Try searching our database.

LINQ SQL DataBase Diagram to <DataBase Name>DataClasses.dbml sync

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
viepia@nospam.com - 19 Feb 2008 22:37 GMT
Hi,

  My project writes records to a new  SQL Server 2005 database with
currently 18 tables.    When I change the Database Diagram for my
database I save the copy the list of changed tables to a notepad text
file;  then one at a time I delete the changed tables from my DBML
Diagram and drag a replacement from the Server Explorer Table list. Is
there a better way to keep the Database Diagram and DBML Diagram in
sync?    I would rather not need to find out the consequences of
developing with an obsolete DBML Diagram.  

Thanks,
Viepia
Marc Gravell - 20 Feb 2008 07:58 GMT
For minor "added a column" etc changes, I rather suspect that I will
end up editing the xml directly ("Open With...", "XML Editor") to
avoid losing the assorted table configuration options. But I don't
know if there are more elegant ways...

To be honest, I'm kinda waiting for entity framework to be fully
released before I stress too much about the tooling...

Marc
viepia@nospam.com - 20 Feb 2008 10:51 GMT
>For minor "added a column" etc changes, I rather suspect that I will
>end up editing the xml directly ("Open With...", "XML Editor") to
[quoted text clipped - 5 lines]
>
>Marc

As a SQL newby I am using the entity framework to add rows to my tables and to call my
SPROCS, I haven't seen any problems so far.   Thanks for telling me about the table
configuration options, I had no idea the Configure Behavior sceen existed.

Viepia

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.