Video Tutorial Library:

LINQ to SQL 101 :

LINQtoSQL101_04_06 - Editing the DBMLs XML Directly

Tags:

In this video we'll look at how to edit the XML of a .dbml  directly using the XML Editor in Visual Studio 2008.  Why would you want to do this?  Some of the frustration people have with working in the Object Relational Designer is that if you change your table structure, you have to delete tables and re-drag them over.  Getting in the habit of editing the DBML file's xml by hand is a worthwhile time saver, and it has the added benefit of helping you understand what you're doing, not just trusting your tools to do it all for you.

You'll see in a video at the end of this lesson that not only do we hand-craft our .dbml file, but we also hand-craft our database scripts to create tables, data, and so on.  Maybe you'll never want to go that route, and that's fine.  Just knowing that you can might serve helpful someday.

Downloads:

Sign up today to access downloads.
LINQtoSQL101_04_06 - Editing the DBMLs XML Directly
Duration: 10 Minutes, 32 Seconds
Size: 13.09M
Recorded Using: Visual Studio 2008 (all versions)

Get Free Videos via Email

Sign up for our newsletter and receive links to free videos and more.

Subscribe

We don't rent/sell/or commit other evil deeds with your email address. See our Privacy Policy.