Saturday, July 11, 2009

LINQ and Entity Framework Posts for 7/6/2009+

Note: This post is updated daily or more frequently, depending on the availability of new articles.

Entity Framework and Entity Data Model (EF/EDM)

Gunnar Piepman explains Entity Framework 4.0: How to use POCOs in this 7/11/2009 post:

Entity Framework 4.0 will provide us with POCO support. That’s good because Entity Framework supports more inheritance mapping strategies than LINQ To SQL but currently it doesn’t support POCOs. To try out Visual Studio 2010 and ASP.NET 4.0 new features I started writing simple photo gallery web application. Today I got my first simple POCOs work with Entity Framework 4.0. As a first thing let’s see my two classes – Album and Photo. …

James Newton-King’s ADO.NET Entity Framework support accidently added to Json.NET post of 7/10/2009 starts with:

I sat down today resolved to finally add support for serializing ADO.NET Entities objects… and instead I came away surprised to find that it already worked. My initial “Lets prove it breaks first and then fix it” test passed first time and it wasn’t until I debugged through the test that I was convinced NUnit wasn’t the one that was broken.

James made his test with an Entity Data Model of Folder and File entities.

Tony Sneed lists the Top Ten New Features in Entity Framework 4.0 in this 7/9/2009 post.

Beth Massi explains Implementing Validation in WPF on Entity Framework Entities in this detailed 7/7/2009 post:

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 entities are implemented as partial classes so that you can extend them with your own code on top of the code that the designers generate for you. You can extend EF entities in a similar way as LINQ to SQL classes.

Rowan Miller writes in his Entity Framework (EF) – Events post of 6/28/2009:

In this post we are going to take a look at some of the events that are raised by various parts of the Microsoft ADO.NET Entity Framework (EF). I’m using the recently released Beta 1 of Visual Studio 2010 / .Net Framework 4.0 for this demo but most of the information also applies to the first version of EF released in .Net Framework 3.5 SP1. 

Thanks to Diego Vega for the heads up.

Chris Cluss explains How to use HierarchyID in LinqToSQL or Entity-Framework // MSSQL Server 2008 in this 5/31/2009 post that I missed earlier.

LINQ to SQL

Deepak Kapoor shows you how to Insert Master Detail Data With LINQ To SQL in this 7/8/2009 post.

Waqas Ahmed explains Data Access with ADO.NET 3.5 – LINQ to SQL in this 7/4/2009 post.

Chris Cluss explains How to use HierarchyID in LinqToSQL or Entity-Framework // MSSQL Server 2008 in this 5/31/2009 post that I missed earlier. Repeated from the “Entity Framework” section.

LINQ to Objects, LINQ to XML, et al.

Jonathan Aneja describes techniques for Dynamic Searching using LINQ - Dataset + Joins in this 7/10/2009 post:

About two years ago I posted some code that shows how to dynamically construct LINQ queries at runtime.  On average there's a couple questions per month about trying it in some edge case, and usually the support already exists within the API.  Recently though someone posted a question that has to do with Datasets and Joins that raised some interesting issues. …

Eric White explains Document-Centric Transforms using LINQ to XML in this 7/9/2009 post:

When thought of in a certain way, XML documents come in two flavors – data-centric and document-centric. Further, there are two types of document-centric documents. This post presents my thoughts about approaches to various types of document-centric transformations – data-centric to document-centric, document-centric to data-centric, and document-centric to document-centric. Then, I’ll tie my thoughts back to Open XML transformations.

ADO.NET Data Services (Astoria)

Nuno Filipe Godinho writes in his Data Services – Can be ADO.NET or SQL – What’s the difference post of 7/7/2009:

Just a while ago I was talking about Data Services and suddenly a confusion between ADO.NET Data Services and SQL Data Services took place, because we were talking about different Data Services, and so in order to try to clarify the differences I remembered to write this post.

Nuno’s wrote his post before SQL Data Services was rechristened SQL Azure Database.

ASP.NET Dynamic Data (DD)

Steve Naughton’s Dynamic Data Custom Field Template – Values List post of 7/9/2009 begins:

Here I have created a simple FieldTemplate for a recent project to allow you to give the user a predefined set of text values to choose from without a FK field relationship. An example of this could be a field with optional values of ‘Y’, ‘N’, ‘N/A’ or ‘Y’, ‘N’, ‘Other’ etc.

And continues with sample code to implement the Values List feature.

Miscellaneous (WPF, WCF, MVC, Silverlight, etc.)

Scott Guthrie celebrates Silverlight 3 Released on 7/10/2009, along with Visual Studio Tools for Silverlight 3 and Expression Studio 3.

blog comments powered by Disqus