Binding WPF Controls to an Entity Data Model
- Posted: Jul 29, 2009 at 9:55 PM
- 55,917 Views
- 12 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
- Mid Quality WMV (Lo-band, Mobile)
Kathleen McGrath
Visual Studio User Education
http://blogs.msdn.com/kathleen
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Seems too scripted and not natural. Video should have been just one person presenting.
Thanks for the feedback. My questions were a bit scripted -- intended to help with the flow of the video; I'm really just there to video tape the presentation. Maybe in future videos, I'll just do the introductions and let the presenter go on with the presentation
.
Great tutorial! Thank you
I followed along till Creating Data-Bound Controls section, when I click on the Show Data Source, Data Source window is NOT showing up the AdventureWorksLTEntities item. What am I missing? Please help, I am new to Data Model
-SB
Hi, cadprogrammer,
Which version of Visual Studio are you using? The Data Sources Window support for EDM is recently enabled in Visual Studio 2010 Beta1.
-Yang
I missed that it was Studio 2010 too, I was getting excited by the possibility of putting it to use until then!
Good walkthrough though, cheers.
This type of demo really doesn't help people understand the Model-View-ViewModel pattern which, from my understanding, is the future of WPF development. This feels very much like a WinForms demo.
Brian
That's a good video but not so parctical to real world scenario.
Since most of current development is tier based the last thing the programmer wants to see is how the DAL getting used directly from within the GUI. how do I get XAML to bind to my BL output objects in that same easy way is what I miss here.
Thanks for the video. I was wondering how to detect changes. Say you only want to enable the save-button when something has been changed. How would you do that?
This video was intended to demonstrate an introductory walkthrough for WPF drag-and-drop data binding. You can find more information in the WPF MVVM Toolkit here: http://wpf.codeplex.com/Wiki/View.aspx?title=WPF%20Model-View-ViewModel%20Toolkit, or go directly to the download page: http://www.codeplex.com/wpf/Release/ProjectReleases.aspx?ReleaseId=14962
The toolkit (packaged as a ZIP file) contains:
a) A VS 2008 template for MVVM apps
b) A general intro to MVVM / MVC / etc. explaining why these are valuable
c) A walk-through, which uses the template to build a simple app
d) A complete WPF app (Messenger) demonstrating MVVM in the real world.
I hope this helps!
Hi,
When the EDM is generated and the table dragged onto the design surface, default code is generated in the Windows loaded event handler and one can display the data and move back and forward using the techniques shown. However, when one tries to edit and save the changes no database update is performed.
I noted that the presenter and the MSDN documentation advises a replacement of the code but I don't understand why the default code does not permit database updates?
Thanks in advance
Hi there,
a quick note to say thanks, I found this presentation very helpful.
I noticed a few other commenters didn't like the content or style. I actually found it very clear and succinct. I'd be very pleased to see more videos posted in this interview/demo style. Keep up the good work.
- a.
Hi
I came to see in a hope that video would do it via MVVM but that's not the case. Any idea where could i find some thing like this. I want to use EF with MVVM.
Thanks
Adil.
Remove this comment
Remove this thread
close