C# Entity Framework & Linq to Entities (Quick Reference)

The Entity Framework & Linq to Entities: CRUD (Create, Read, Update, Delete) Tasks with CSharp

The Entity Framework in conjunction with Linq to Entities seems to be Microsoft’s ORM (Object Relational Mapping) flavor of the moment. The technology is not without its downsides, but given that the company is making moves to deprecate Linq to SQL by merging that product’s feature set into that of Linq to Entities’; it appears to be the horse Microsoft is betting on. If you’re interested in getting behind Microsoft on this one (as if you had a choice), then there are probably some pretty fundamental tasks you’ll want to be able to perform from the outset.

In this series of posts, I’ll break down how to use Linq to Entities to perform common CRUD (Create, Read, Update, and Delete) tasks with an entity data model generated by Visual Studio 2008 and based on the Entity Framework. I wish I could say that the entity data model model is so obvious that a quick glance at a class diagram would be all one would need to figure these things out. If that were the case, however, I would not have felt the need to write this post, and you would not have found your way to it through the Googles.

Quick References

Quick Reference Setup

Entity Framework & Linq to Entities: “Movies” Example Setup contains diagrams representing the database structure, entity data model, and entity object model used in the Linq to Entities Quick References.

Advertisements

One Response

  1. […] C# Linq to Entities (Quick Reference) Database Structure for the "Movies" Example Entity Diagram for the "Movies" […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: