Partager via


Entity Data Model Designer Video

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

Comments

  • Anonymous
    October 26, 2007
    Entity Model Designer - What came out of it in Visual Studio 2008 Back in March, the Data Programmability

  • Anonymous
    October 26, 2007
    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?

  • Anonymous
    October 30, 2007
    Entity Data Model Designer - What came out of it in Visual Studio 2008 Back in March, the Data Programmability

  • Anonymous
    October 31, 2007
    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?
  • Anonymous
    November 01, 2007
    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

  • Anonymous
    November 15, 2007
    Chris Lovett was interviewed by book author Michael van Otegem recently and he asked some very interesting

  • Anonymous
    November 18, 2007
    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.

  • Anonymous
    November 21, 2007
    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

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

  • Anonymous
    August 16, 2008
    Great Article. Ray Akkanson