Binding WPF Controls to an Entity Data Model
- Posted: Jul 29, 2009 at 9:55 PM
- 56,855 Views
- 12 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
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
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
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