Browse by Tags

Using the ReportViewer with ADO.NET Data Services and Entity Framework
19 August 09 09:57 PM
The Winforms ReportViewer in Visual Studio Pro will allow you define client reports with a variety of data sources. If you’re not familiar with creating client-side reports using the ReportViewer, take a look at these videos: How Do I: Create a report Read More...
Auto Access to non-Indexed Collections : Or How I Learned to Stop Worrying and Love the VB Compiler
14 August 09 04:26 PM
I just finished a couple more How Do I videos on using EF with WPF using VS2008 SP1 (they’ll be published soon) and while I was translating my VB code to C# I stumbled upon an error in C# that does not happen in VB. This of course got me curious and so Read More...
Filtering Entity Framework Collections in Master-Detail Forms
16 July 09 05:18 PM
Last post I talked about how to get WPF data binding to work with master-detail entity collections. I had a couple readers ask me how they could filter the child collection instead of bringing them all down so in this post I’d like to show how you could Read More...
Postedby Beth Massi | 2 Comments    
Master-Detail Data Binding in WPF with Entity Framework
14 July 09 04:24 PM
Today I thought I would talk about a really common scenario in data applications, creating a master-details (one-to-many) data entry form. I’ve written about WPF data binding and Entity Framework a lot in the past: Posts: Master-Details with Entity Framework Read More...
Implementing Validation in WPF on Entity Framework Entities
07 July 09 05:14 PM
I’ve blogged before about implementing validation on LINQ to SQL classes as well as how to customize the display of error messages in WPF . In this post I want to show how you can use these same techniques to validate entities coming from the Entity Framework Read More...
Using the WPF ObservableCollection with EF Entities
08 May 09 03:29 PM
The ObservableCollection is a special WPF collection that provides proper notifications to the UI when items are added, removed, or the list is refreshed because it implements INotifyCollectionChanged . It’s common to use this collection (or inherit from Read More...
Notifying the UI when Entity References Change in Lookup Comboboxes
04 May 09 07:51 PM
Last week I wrote about how to data bind WPF lookup comboboxes to entities returned from the Entity Framework. I described that the key to this type of binding is setting the SelectedItem to the object reference itself on the navigation property instead Read More...
Data Binding WPF Lookup Combobox Values to EF Entities
30 April 09 07:57 AM
It’s extremely common to have to hook up lookup tables on your data entry forms in order to populate foreign keys in a database. I’ve talked about how to do this in Winforms and WPF with Datasets and LINQ to SQL before: How Do I: Create a Lookup Combobox Read More...
OBA Part 1 - Exposing Line-of-Business Data
03 February 09 02:23 PM
Last post I talked about the high-level architecture of our O ffice B usiness A pplication for the new Northwind Traders. There are a lot of different architecture options to consider when building an OBA. OBA is all about using Microsoft Office with Read More...
ADO.NET Data Services - Intercepting Queries and Adding Validation
21 January 09 08:53 PM
Last few posts I've been building a WPF client against ADO.NET Data Services, if you missed them: Using ADO.NET Data Services ADO.NET Data Services - Building a WPF Client ADO.NET Data Services - Enforcing FK Associations and a Fix for Deleting Entities Read More...
ADO.NET Data Services - Enforcing FK Associations and a Fix for Deleting Entities
20 January 09 07:15 PM
Last post I described one way to build a smart client in WPF against ADO.NET Data Services. In this example we are editing the products table and associating them to categories in the categories table from Northwind. In the Northwind database the CategoryID Read More...
Using ADO.NET Data Services
09 January 09 07:52 PM
This week I worked through a good article on getting started with ADO.NET Data Services (a.k.a Astoria) called Using ADO.NET Data Services . If you're not familiar with the technology it's basically a framework for exposing your data models via RESTful Read More...
Master-Details with Entity Framework Explicit Load
10 December 08 04:45 PM
Unlike LINQ to SQL, in Visual Studio 2008 Service Pack 1 explicit loading is the default behavior in the Entity Framework. When a query is executed within the Entity Framework, the entities returned by the query are fully accessible, but any associated Read More...
Editing Data from Two Tables in a Single DataGridView
15 October 08 06:31 PM
I've had a lot of questions lately on how to display data from two separate tables in the database into a single DataGridView for editing. It sure would be nice if all our data was in a single table, but in reality most of the time it's not. Basically Read More...

This Blog

Syndication

Page view tracker