Browse by Tags

Tagged Content List
  • Blog Post: Enums in the Entity Designer

    One of the most highly-requested features for the Entity Framework is first-class support for Enums, and we are happy to provide support for this feature in the Entity Designer in the June 2011 CTP recently released. If you haven’t checked it out already, find the bits here: http://www.microsoft...
  • Blog Post: Auto-Compiled LINQ Queries (Entity Framework June 2011 CTP)

    When you write a LINQ to Entities query today, the Entity Framework walks over the expression tree generated by the C#/VB compiler and translates (or compiles) that into SQL. Compiling the expression tree into SQL involves some overhead though, particularly for more complex queries. In order...
  • Blog Post: Enumeration Support in Entity Framework

    We recently shipped Entity Framework 4.1 , and it has been exciting to see the reception the new Code First and DbContext APIs have been getting in the developer community. What is also exciting is to be able to start talking more about other features we have been working on, like table-valued functions...
  • Blog Post: Spatial Types in the Entity Designer

    One of the highly-anticipated features coming in the next version of Entity Framework is Spatial support. We’d like to give you a look at the experience of developing with Spatial types in the Entity Designer. If you haven’t already, take a look at what is going on under the hood with Spatial...
  • Blog Post: Spatial Types in the Entity Framework

    Pedro Ardila Normal Pedro Ardila 2 5 2011-05-04T21:47:00Z 2011-05-04T21:47:00Z 2 1238 7060 Microsoft Corporation 58 16 8282 14.00 Clean Clean false false false false EN-US X-NONE X...
  • Blog Post: Unique Constraints in the Entity Framework

    Update: this feature has been postponed and will not be included in Entity Framework 5. Unique Constraints in the Entity Framework We’ve been busy working on enabling unique constraints in the Entity Framework. Unique Constraints allow you to model candidate keys (also known as alternate...
  • Blog Post: Table-Valued Function Support

    One of the key features coming in the next release of Entity Framework is Table-Valued Function support. It is a very popular customer request and we have been working diligently to design a solution that we hope you find simple, yet useful. This design intends to make TVFs first-class citizens on Entity...
  • Blog Post: Code First Database Evolution (aka Migrations)

    Back in July we released the latest preview of Code First and we’ve been receiving a lot of feedback that is helping us shape this feature. One of the top asks we are hearing is for a solution that will evolve the database schema as your object model changes over time, often referred to as migrations...
  • Blog Post: Entity Designer Improvements Preview

    The team has been quietly working on a number of improvements to the entity designer that we would like to show off and get feedback on. This particular set of features is targeted at making modeling more productive and scalable, and models themselves more comprehensible. We’ll start with the...
  • Blog Post: Data Binding with DbContext

    The information in this post is out of date. Visit msdn.com/data/ef for the latest information on current and past releases of EF. For WPF Data Binding see http://msdn.com/data/jj574514 For WinForms Data Binding see http://msdn.com/data/jj682076 We recently announced the release...
  • Blog Post: Productivity Improvements for the Entity Framework

    Background We’ve been hearing a lot of good feedback on the recently released update to the Entity Framework in .NET 4. This release marks a significant advancement from the first release that shipped with .NET 3.5 SP1. I’m not going to spend time here talking about what’s new, but...
  • Blog Post: Conventions for Code First

    The latest preview of Code First allows you to describe a model using C# or VB.Net classes. The basic shape of the model is detected by convention and then a fluent API can be used to further refine your model. We recently posted about our plans to support Data Annotations as another way to further...
  • Blog Post: Code Only – Further Enhancements

    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. The current plan still holds. Code-Only will...
  • Blog Post: Extending the Entity Framework Provider Model to support DDL

    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     if (!myContext.DatabaseExists())        ...
  • Blog Post: LINQ to SQL to Entity Framework conversion template

    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 with Entity Framework (.edmx). While not a...
  • Blog Post: Code Only Enhancements

    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 Inheritance strategy ...
  • Blog Post: Code Only

    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 database. Model First is new to Visual...
  • Blog Post: Foreign Keys in the Entity Framework

    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 FKs pollute the conceptual model. The fact...
  • Blog Post: Customizing Entity Classes in VS 2010

    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 make the experience of customizing those templates...
  • Blog Post: Model Defined Functions

    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 and database specific functions respectively...
  • Blog Post: Pluralization

    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 Orders you will get an EntityType called Orders...
  • Blog Post: N-Tier Improvements for Entity Framework

    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 first from the database, later modified, and finally...
  • Blog Post: Foreign Keys in the Conceptual and Object Models

    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 concepts supported by the object oriented paradigm...
  • Blog Post: EDM and Store functions exposed in LINQ

    In this post Colin Meek and Diego Vega delve into some enhancements we are planning for LINQ to Entities, anyway over to them... Entity Framework v1 customers preferring to write their queries using LINQ often hit a limitation on the range of functions and query patterns supported in LINQ to Entities...
  • Blog Post: Model First

    One of the most painful omissions from the Entity Framework V1 was Model First, which basically means creating a conceptual 'model first' and then deriving a storage model, database and mappings from that. People ask for this scenario all the time in the forums. Well Noam, a Program Manager on...
Page 1 of 2 (33 items) 12