Entity Framework


image_thumb.png 3
Introduction Hello and apologies for the long delay between articles, I am now returning to the Entity framework.  Following on from the previous article (Entity Validation) I’m back to review the latest edition of the generic data access class. In the time between my original series of articles concerning disconnected […]

Update: Entity Framework Generic Data Access



images_thumb.jpg 1
Introduction Last week I gave an internal presentation to my fellow consultants at CGI on the principals of data modelling/data architecture, modelling within Visual Studio 2013 and a history of the (ADO.NET) Entity Framework. I’ve attached the slide deck to this article, and also in my presentations page. Data Modelling […]

Data Modelling and the Entity Framework



image_thumb.png
Introduction Hi all.  I’ve been working with the old ASP.NET Dynamic Data website templates, as I wanted a quick and easy to use web UI for managing the data at http://rs-photography.org. As the site is (obviously) image-centric, I wanted to make some modifications to the out-of-the-box Dynamic Data project to […]

Using the Dynamic Data Database Embedded Image Field Template


1378407_579351242100365_2103136479_n_thumb.png
Introduction When we left off in Part 1, we had edited the T4 template which generates Entity Framework POCO entities and had it add appropriate attributes to assist in data validation checks. The next step is to show you how we can make use of these annotations. Note: the data […]

Entity Validation and the Entity Framework – Part 2


image_thumb5_thumb.png 5
Introduction The next logical step in my journey across the Entity Framework v6 RC1 after having established a fairly robust data access approach was to imbue my solution with some more “smarts” when it came to entity validation. Out-of-the-box Entity Framework POCO entities are exactly as advertised – plain old […]

Entity Validation and the Entity Framework – Part 1




image47_thumb.png
Introduction Recently I began writing a series of articles demonstrating how you could take a blank Database schema and bring it all together with a fully integrated object relational mapping access model (Entity Framework) and then exposing the entire object graph via WCF web services in a completely detached mode.  […]

Flexible Data Operations with the Entity Framework V6 RC1


image_thumb.png 12
Introduction This article is part of the ongoing series I’ve been writing recently, but can be read as a standalone article.  I’m going to do a better job of integrating the changes documented here into the ongoing solution I’ve been building.  However, considering how much time and effort I put […]

Solving the detached many-to-many problem with the Entity Framework



image_thumb.png
Introduction Following on from the previous article, Data Access with the Entity Framework V6 RC1, this time I’m going to go deeper and look at how we manipulate entities through a structured and often times generic approach. We’ll take a particularly close look at an approach to adding, updating and […]

Basic Data Operations with the Entity Framework V6 RC1


image_thumb.png
Introduction Today I’m following on from my previous series of articles from last week, particularly (and logically) from the article More with the Entity Framework V6 RC1. This time around, I’m going to go under the covers and document a new approach I’m trying out around the Entity Framework Data […]

Data Access with the Entity Framework V6 RC1




image_thumb.png
Introduction Following on from the earlier article which established a data schema, the next step is to wrap the database design in an ORM.. for fun. I’m going to take a look at the latest pre-release of the Entity Framework, version 6 (RC1).  If you’re interested in the licensing aspects, […]

Integrating the Entity Framework v6 RC1