Browse by Tags

Tagged Content List
  • Blog Post: Special EastBay.NET Meeting this Wednesday with Julie Lerman (EF) & Kathleen Dollard (MEF)

    This month we’re having a special meeting day, a week earlier than normal, on this Wednesday March 3rd and you don’t want to miss it! MVPs Julie Lerman and Kathleen Dollard are in town and we thought this would be a great chance to snag them both for a killer session on Entity Framework and MEF with...
  • Blog Post: New “How Do I” Videos Released on Entity Framework & WPF

    Yesterday we released a couple more videos onto the Visual Basic Developer Center on building WPF data-entry forms with Entity Framework: How Do I: Hook Up and Display Validation in WPF using Entity Framework? How Do I: Build a WPF Master-Detail Data Entry Form Using Entity Framework? That makes 5 videos...
  • Blog Post: Using the ReportViewer with ADO.NET Data Services and Entity Framework

    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 from a database? How Do I: Create a report from a...
  • Blog Post: Auto Access to non-Indexed Collections : Or How I Learned to Stop Worrying and Love the VB Compiler

    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 I thought I’d share what I found out. I have an...
  • Blog Post: N-Tier Application Patterns with Entity Framework

    This month’s MSDN Magazine has a particularly good article in there by Danny Simmons , Development Manager on the Entity Framework team, on N-Tier Application Patterns with Entity Framework   that I recommend reading through. He explains the design considerations you need to take into account when...
  • Blog Post: Filtering Entity Framework Collections in Master-Detail Forms

    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 do that. It’s actually pretty easy. Customer (Master...
  • Blog Post: Master-Detail Data Binding in WPF with Entity Framework

    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 Explicit Load Loading Data and...
  • Blog Post: Implementing Validation in WPF on Entity Framework Entities

    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 (EF). Like LINQ to SQL classes, Entity Framework...
  • Blog Post: New “How Do I” Video Series Released

    I just released 3 new videos onto the VB Dev Center starting a new series on how to do WPF data binding with Entity Framework using Visual Studio 2008 Service Pack 1 . This is a “no frills” WPF series that focuses on data so you won’t see any other tools used besides Visual Studio 2008 SP1 and no flashy...
  • Blog Post: WPF Data Binding Samples on Code Gallery

    One of the many samples released for Visual Studio 2010 Beta 1 that you should be aware of are examples of WPF data binding against Entity Data Models. You can find some easy to follow samples here: http://code.msdn.microsoft.com/WPFDatabinding This sample demonstrates how to create a WPF Forms solution...
  • Blog Post: Using the WPF ObservableCollection with EF Entities

    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 it) to contain your business objects you want...
  • Blog Post: Notifying the UI when Entity References Change in Lookup Comboboxes

    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 of setting SelectedValue and SelectedValuePath...
  • Blog Post: Data Binding WPF Lookup Combobox Values to EF Entities

    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 in WPF? How Do I: Create a Master-Detail Data...
  • Blog Post: Programming Entity Framework Book

    Julie Lerman's Programming Entity Framework book just arrived today! I've been skimming around it all day and so far Chapter 8 is my favorite but I'm sure once I get to Chapter 14 that will take the cake :-) Thanks Julie! (especially for all the great VB code!) How Do I videos here we come..... Enjoy...
  • Blog Post: OBA Part 1 - Exposing Line-of-Business Data

    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 your Line of Business (LOB) data. Whether that involves...
  • Blog Post: ADO.NET Data Services - Intercepting Queries and Adding Validation

    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 Today I want to show you how we...
  • Blog Post: ADO.NET Data Services - Enforcing FK Associations and a Fix for Deleting Entities

    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 on the Products table allows nulls so that...
  • Blog Post: Using ADO.NET Data Services

    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 web services. So if you are building a remote CRUD...
  • Blog Post: Master-Details with Entity Framework Explicit Load

    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 entities are not immediately loaded. This means...
  • Blog Post: Channel 9 Interview: ADO.NET Data Services in Visual Studio 2008 SP1

    In this interview Saaid Kahn, a Program Manager on the Visual Studio Pro Tools team (and former member of the VB Team), shows us how to create an n-tier application against a database using ADO.NET Data Services (Astoria) and an Entity Data Model, both now available in Visual Studio 2008 Service Pack...
  • Blog Post: Editing Data from Two Tables in a Single DataGridView

    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 the problem is that we want one single table (entity...
  • Blog Post: First Day at SDN Conference

    I'm here in the Netherlands in a town called Noordwijkerhout near Amsterdam at the SDN Conference with a lot of great speakers and sessions . I took these shots while the attendees were in session. There's good food, great vendors and lots of entertainment -- XBoxes, bowling, pin-pong, and lots...
  • Blog Post: What's New in Visual Studio 2008 SP1 - Client and Data Features

    Last night I spoke at East Bay.NET UG on some of the new features in Visual Studio Service Pack 1 focusing on client and data. I did a whirlwind tour of new SQL 2008 data types and Sync Services enhancements , ADO.NET Entity Framework , ADO.NET Data Services , WPF performance and data enhancements ,...
Page 1 of 1 (23 items)

Browse by Tags