Created Issue: EF6 throws an exception [Invalid object name...
Repro steps: - Create a console application in Visual Studio 2012 - Install a recent EF6 nuget package (this should remove EF5 package automatically) - Make sure that no DB with the name "MyTestDB2"...
View ArticleEdited Feature: EdmxWriter should work regardless of how the model was...
There are multiple design-time and runtime scenarios in which the ability to obtain metadata about a model and mapping us useful. An example of this is the ability to load a model pragmatically into...
View ArticleEdited Feature: EdmxWriter should work regardless of how the model was...
There are multiple design-time and runtime scenarios in which the ability to obtain metadata about a model and mapping us useful. An example of this is the ability to load a model pragmatically into...
View ArticleNew Post: Create a separate project for Migrations
Hi Arthur, Thanks for your answer, if I got time (might not be anytime soon) I'll definitly look at this. I'm sure a lot more people would consider migrations if it was decoupled (and well...
View ArticleEdited Issue: DbQuery to ObjectQuery replacement fails in some situations...
Current implementation of DbQueryVisitor tries to handle cases where the query is closed over variables containing DbQuery values by simply replacing them with the underlying ObjectQuery instances....
View ArticleCreated Task: Simplify PowerShell Commands Implementation [597]
During the original implementation of the PowerShell commands, I thought it necessary to have two AppDomains -- one for heavy processing of the VS object model and another for executing the user's code...
View ArticleEdited Task: Simplify PowerShell Commands Implementation [597]
During the original implementation of the PowerShell commands, I thought it necessary to have two AppDomains -- one for heavy processing of the VS object model and another for executing the user's code...
View ArticleCreated Issue: Better way to specify Migration configuration [598]
This issue arises when there are multiple contexts present within a single project and more than one of them has migrations enabled. The way that this situation is currently handled is that the user is...
View ArticleCreated Feature: Turn pluralization & singularization into a pluggable...
This would allow anyone to implement non-English version of the service and configure it using a resolver.
View ArticleCommented Issue: Pre-generated views should be generated as an embeded...
The tools to create pre-generated views at design time currently emit C#/VB files with the views as Entity SQL queries in strings. Several customers with very large models have hit compiler limits on...
View ArticleNew Post: Entity View generation
I created a prototype that should help define the API for view generation - more details here: http://blog.3d-logic.com/2012/10/17/entity-framework-6-and-pre-generated-views/ Thanks, Pawel
View ArticleNew Post: View generation speed
Hello Andrew. I did it now. the relevant pull request is: http://entityframework.codeplex.com/SourceControl/network/forks/AlirezaHaghshenas/ImproveViewGenerationSpeed/contribution/3507. Bests.
View ArticleCommented Issue: Crash in EF5 with SELECT N+1 query [581]
query:using(var ctxt = new NWDataContext()){ var products = ctxt.Products.Where(p => p.ProductName.StartsWith("S")); foreach(var v in products) { Console.WriteLine("{0} {1} {2}", v.ProductName,...
View ArticleNew Post: StorageMappingItemCollection cannot locate correct entity container...
Well talking about existing API the only access to the inside StorageMappingIntemCollection seems to be GetEntityContainer first unfortunately this t4 doesn't work - generates exception "Member with...
View ArticleNew Post: The proper ConnectionString For EF 5.0 to be set in a DAL Module
I Changed some pieces, and may be simplified and clarified with adding the code. using EF5, Prism, Unity What I'm doing is Making a DAL with EF5 for Prism. The Sample:...
View ArticleEdited Issue: Code First: Allow subclasses to map field to same database...
When using TPH inheritance, Code First requires every field defined in a subclass to be mapped to a unique database column. However, there are scenarios where it would be simpler for subclasses to map...
View ArticleSource code checked in, #d9dfc66d201d
TheOldNewMetadata Removal of Code First metadata (part 1: CSDL) - Removal of all System.Data.Entity.Edm CSDL classes except EdmModel and EdmNamespace which have no analogs in core metadata. - Updated...
View ArticleCommented Issue: Code First: Allow subclasses to map field to same database...
When using TPH inheritance, Code First requires every field defined in a subclass to be mapped to a unique database column. However, there are scenarios where it would be simpler for subclasses to map...
View ArticleNew Post: DbContext Connection events or overrides
I think it would be nice if EF used something like NHiberntate's ConnectionProvider. The control of the connection lifetime could then be separated from the DbContext, and users such as myself could...
View ArticleCreated Issue: Make Async method work with TransactionScope [600]
Transaction.Current uses thread-local storage, meaning that it could be lost in an async invocation.
View Article