Browse by Tags

Code Only – Further Enhancements
12 October 09 06:31 PM | efdesign | 22 Comments   
We’ve come a long way since the last post on Code-Only . So it’s high time for another update. We’ve been working really hard on Code-Only revving the design, and spotting missing capabilities and responding to feedback both internal and external etc. Read More...
Extending the Entity Framework Provider Model to support DDL
06 October 09 07:24 PM | efdesign | 6 Comments   
As part of the first previews of Code-Only we shared some code to create a database: // Create a context using code-only using (var mycontext = builder.Create(dbConnection)) {     // Create the database if it doesn’t already exist     Read More...
Custom CUD Walkthrough for LINQ to SQL to Entity Framework Metadata Conversion Template
13 August 09 10:55 PM | efdesign | 2 Comments   
Introduction After completing the WidgetFactory walkthrough , you may be wondering how to convert stored procedures and customized insert, update and delete functions. This walkthrough will show you how to convert an application with a stored procedure Read More...
Attachment(s): CustomCUD.zip
Widget Factory Walkthrough for the LINQ to SQL to Entity Framework Metadata Conversion Template
13 August 09 10:53 PM | efdesign | 0 Comments   
Introduction This walkthrough is designed to show you how the new dbml to edmx conversion template can help you to start the conversion process. The conversion template is not yet complete, but can be used to convert basic projects like the one in this Read More...
Attachment(s): WidgetFactory.zip
LINQ to SQL to Entity Framework conversion template
13 August 09 10:10 PM | efdesign | 5 Comments   
Many customers have asked us how to port a LINQ to SQL application to the Entity Framework. In order to make this process easier, we have developed a metadata conversion template. This template converts LINQ to SQL metadata (.dbml) to metadata compatible Read More...
Code Only Enhancements
03 August 09 11:11 PM | efdesign | 30 Comments   
We've been working hard on Code Only since the first preview . In the next release you will be able to specify: Navigation Property Inverses. Property Facets, like Nullability , MaxLength , Precision etc. Property to Column mappings Type to Table(s) mappings Read More...
Code Only
10 June 09 09:04 PM | efdesign | 27 Comments   
There are currently two ways to get Entity Framework apps up and running, we call these Database First and Model First respectively. Database First has been with us since .NET 3.5 SP1, and involves reverse engineering an Entity Data Model from an existing Read More...
Self-Tracking Entities in the Entity Framework
24 March 09 02:50 AM | efdesign | 67 Comments   
Background One of the biggest pieces of feedback we received from the N-Tier Improvements for Entity Framework post as well as other sources was: “low level APIs are great, but where is the end-to-end architecture for N-tier and the Entity Framework?”. Read More...
Foreign Keys in the Entity Framework
16 March 09 09:47 PM | efdesign | 35 Comments   
Background A number of months ago we asked whether Foreign Keys (FKs) in Conceptual and Object models were important. The feedback we got indicated that there are a real mix of opinions on the topic. Some people are all for them while others think that Read More...
Customizing Entity Classes in VS 2010
22 January 09 07:15 PM | efdesign | 23 Comments   
When VS 2010 ships it will include some significant improvements to our code generation story for the Entity Framework. The basic idea is to make use of T4 templates for code generation and ship strong integration into the Entity Framework Designer to Read More...
Update on Computed Properties
13 January 09 04:27 AM | efdesign | 9 Comments   
A while back I wrote a post that introduced the concept of Computed Properties . Since that time we’ve had a number of conversations with both customers and internal partners and we’ve had some new ideas, that have changed our thinking somewhat. First Read More...
Model Defined Functions
07 January 09 08:32 PM | efdesign | 21 Comments   
Today the Entity Framework, and more specifically the Entity Data Model, have a limited notion of Functions. We are currently restricted to Function Imports that allow stored procedures to be invoked, and Canonical / Store Functions for database independent Read More...
Pluralization
02 December 08 12:20 AM | efdesign | 13 Comments   
Unfortunately in the current version of the Entity Framework, which ships in .NET 3.5 SP1, we don't make any attempt to Singularize or Pluralize names when reverse engineering a model from the database. So if, for example, your database has a table called Read More...
N-Tier Improvements for Entity Framework
20 November 08 05:33 AM | efdesign | 51 Comments   
The first version of Entity Framework provides convenient ways to load, manipulate and persist objects and relationships. As with many other O/RMs, Entity Framework has a state manager that tracks every change made. Existing objects are typically loaded Read More...
Foreign Keys in the Conceptual and Object Models
27 October 08 05:48 PM | efdesign | 36 Comments   
If you are reading this, you have probably heard by now about the so called impedance mismatch between the relational world and the object world – and there are a number of concepts in the relational database that don’t translate easily to corresponding Read More...
More Posts Next page »

Search

This Blog

Syndication

Page view tracker