Entity Data Model Designer Video

Published 26 October 07 07:58 AM | dpblogs 

We’ve created a Camtasia™ video, available here, demonstrating some of the features of the Entity Data Model Designer. This video was just shown at VSLive in Las Vegas and demonstrates some of the mapping capabilities of the tools and runtime, including entity splitting and a mix of  table-per-hierarchy and table-per-type mapping strategies. We also show a basic example of extending generated code using partial classes, LINQ, and associations.

As a bonus, since this demonstration is on a very early CTP2 build, you even get to see some of the UI updates we’re doing to support stored procedures.

-ADO.NET Tools Team

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Guy Burstein [MVP] said on October 26, 2007 11:05 AM:

Entity Model Designer - What came out of it in Visual Studio 2008 Back in March, the Data Programmability

# Justin Etheredge said on October 26, 2007 2:30 PM:

Looks like you guys are making some good progress. I would love to see some examples with a bit more complex mapping samples. I started playing around quite a bit with the first CTP and ended up deciding to hold off until the next CTP since the code was still so young. Do you guys have any ballpark figure for when the next CTP might come out?

# Guy Burstein [MVP] said on October 31, 2007 2:27 AM:

Entity Data Model Designer - What came out of it in Visual Studio 2008 Back in March, the Data Programmability

# Bret Hill said on October 31, 2007 5:40 PM:

First the team and I are very excited about EDM, second the mappings you are showing in the video are nearly identical to what we had come up with for our upcoming project.  I watched the video and tried to follow along in an effort to ramp up and get up to speed and find myself very frustrated because I can’t seem to get it to work as you show on the video.

I created a C# Console Application project, and began creating the model by using the wizard to import the Person, User, and LoginInfo tables.  I deleted the User & LoginInfo tables leaving just the person table in the model.  From there I created a new entity called User with a base of Person.  I add 2 Scalar values Login & LastLoginDate which I set the properties of each appropriately to reflect the String and DateTime data types of each.  Then I map the User and LoginInfo to the User object with the mappings shown in the video.  Finally I add another entity called Employee and add an association called EmployeeManager (0..1 to Many) called Manager and Reports respectively.  When I try to create the mappings I notice a couple interesting things that look and act differently.

1. In the column mappings for the Employee Object and User Table I see the ID column which does not appear in the video.

2. When attempting to edit the relationship mapping I can not change the column to ManagerID as shown in the video.

Can you please help me?

# Noam Ben-Ami said on November 1, 2007 6:45 PM:

Hello Brett,

Note: The demo uses a post-CTP1 version of the designer that fixes some issues in the CTP1 bits.

However, the ID column is actually a regression in the bits that I was using - the view you are seeing is the correct one.

If you have any more questions, you'll get a faster reponse if you post them on the ADO.NET forum: http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=533&SiteID=1.

Cheers,

  Noam

# Microsoft XML Team's WebLog said on November 16, 2007 4:00 AM:

Chris Lovett was interviewed by book author Michael van Otegem recently and he asked some very interesting

# Amol kagde said on November 19, 2007 1:49 AM:

i am very much thankful to all ...to help sql server

my question is ..how to avoid blank insertion of data in database?

problem is that ..i have done employee registration application. i have also done validation but when i go to submit  blank data then field validaton messagebox show on dektop and after click on the ok button then page posted and appear next page.

please help me..thank you.

# AurelianP said on November 21, 2007 4:59 PM:

Hello,

The last download ADO.NET Entity Framework Beta 2 from here http://www.microsoft.com/downloads/details.aspx?FamilyId=F1ADC5D1-A42E-40A6-A68C-A42EE11186F7&displaylang=en is not installing on a VS 2008 RTM machine.

How do I solve that?

Thanks in advance,

AurelianP

# cufrlftko said on May 5, 2008 6:10 AM:

NG3jV4  <a href="http://ujblyerjxxpp.com/">ujblyerjxxpp</a>, [url=http://ktwckdbajcky.com/]ktwckdbajcky[/url], [link=http://neirudjmeobp.com/]neirudjmeobp[/link], http://zzcvehpnsamo.com/

# Ray Akkanson said on August 16, 2008 8:07 PM:

Great Article.

Ray Akkanson

Leave a Comment

(required) 
(optional)
(required) 
Page view tracker