Feature CTP Walkthrough: Code Only for Entity Framework

Published 22 June 09 02:58 PM | dpblogs 

Overview

This post covers a new Entity Framework extension called Code Only. Code Only allows you to use the Entity Framework using POCO entities and without an EDMX file, i.e. with ‘Code Only’. This walkthrough shows you how to use the first release of Code Only, which is a very early and limited preview of our long term plans for Code Only. To get an idea of where Code Only is heading look at this post on the EF Design Blog.

Code Only ships as part of the Microsoft Entity Framework Feature CTP 1. The CTP works on top of the latest version of the Entity Framework released as part of .NET 4.0 Beta1, and you can download it here.

Requirements

  1. This walkthrough requires Visual Studio 2010 Beta 1
  2. The Microsoft Entity Framework Feature CTP1, that can be downloaded from here.
  3. A local SQL Server 2008 Express instance has to be installed as SQLEXPRESS. Otherwise, changes to the connection string in the web.config file or regenerating the database from the included SQL scripts may be necessary.
  4. Download and extract the initial solution attached to this post.

Read More…

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Feature CTP Walkthrough: Code Only for Entity Framework | ASP.NET MVC said on June 23, 2009 12:23 AM:

PingBack from http://aspmvc.co.cc/2009/06/22/feature-ctp-walkthrough-code-only-for-entity-framework/

# Sanjeev Agarwal said on June 23, 2009 1:05 AM:

Daily tech links for .net and related technologies - June 19-23, 2009 Web Development Rapid Application

# progg.ru said on June 23, 2009 1:12 AM:

Thank you for submitting this cool story - Trackback from progg.ru

# Matthieu MEZIL said on June 23, 2009 1:59 AM:

Avec VS 2010 Beta 1, il manquait quelque features pour lesquelles l’EF team avait communiqué en disant

# DotNetShoutout said on June 23, 2009 6:32 AM:

Thank you for submitting this cool story - Trackback from DotNetShoutout

# Keyse said on October 19, 2009 1:12 PM:

is Entity Framework 4.0 only availabe for VS 2010? specially since we've just purchased and upgraded to VS 2008 about 2 months ago and we would love to take advantage of the "Code Only" modeling capabailties of EF 4.0

I am just curios if we've we made a mistake in upgrading too soon from VS 2005 to VS 2008?

# Daniel Simmons said on November 14, 2009 9:06 PM:

@Keyse,

Sorry but yes, Entity Framework 4 is only available for VS 2010 because it's part of .net 4.

- Danny

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

Search

This Blog

Syndication

Page view tracker