
Entity Framework
Get flash to fully experience Pearltrees
Migrations
Using EF 4.3 Code First Migrations with an Existing Database
In working on my upcoming EF 4.3 Migrations video for Pluralsight , I wanted to work out how to use this with an existing database where I plan to add new types and therefore want migrations to not just use this database, but migrate it as well. Problem solved*, but then I tried to use it in a production application and found an easy-to-fix problem. So…I thought I’d share the process in a blog post while it’s on my mind.As shown in the previous precompiled view blog ( Isolating Performance with Precompiled/Pre-generated Views in the Entity Framework 4 ), views can significantly improve performance in various scenarios such as first-run; memory usage; and execution of one-off queries. However, the creation of views for large complex models that consist of many entities and associations), can create lots of views which in turn will require heavy use of strings, and reach the .NET metadata format limit on the number of user string characters (0xFFFFFF).
Solving the “No logical space left to create more user strings” Error and Improving performance of Pre-generated Views in Visual Studio .NET4 Entity Framework - Windows Server AppFabric Customer Advisory Team
This topic describes performance characteristics of the ADO.NET Entity Framework and provides some considerations to help improve the performance of Entity Framework applications. Stages of Query Execution
Performance Considerations (Entity Framework)
Tracing SQL Statements generated by Entity Framework « devioblog
The DataContext of Linq2Sql provides a Log property that one can assign a TextWriter to retrieve the text of the SQL statements generated by Linq.The DbContext API introduced in Entity Framework 4.1 exposes a few methods that provide pass-through access to execute database queries and commands in native SQL, such as Database.SqlQuery<T>, DbSet<T>.SqlQuery, and also Database.ExecuteSqlCommand.
Stored procedures with output parameters using SqlQuery in the DbContext API - Diego Vega
Code-First Development with Entity Framework 4
.NET 4 ships with a much improved version of Entity Framework (EF) – a data access library that lives in the System.Data.Entity namespace. When Entity Framework was first introduced with .NET 3.5 SP1, developers provided a lot of feedback on things they thought were incomplete with that first release.Some Bumps in the Separation of Entity Framework and .NET Framework
Some Bumps in the Separation of Entity Framework and .NET Framework
Entity Framework Developers Clamor for Better SQL Generation
Entity Framework Developers Clamor for Better SQL GenerationEF 4.3 Beta 1: Code-Based Migrations Walkthrough - ADO.NET team blog
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 Code First Migrations see http://msdn.com/data/jj591621I am excited to announce that the framework has been upgraded to the new version to follow up with the final release of Microsoft ADO.NET Entity Framework 4.1 yesterday. The upgrade includes some changes from Entity Framework API itself and also incorporates bug fixed as well many great suggestion/comments for improvement from the readers.
Entity Framework 4 POCO, Repository and Specification Pattern [Upgraded to EF 4.1] « Huy Nguyen's Blog
[This topic is pre-release documentation and is subject to change in future releases.

