Commented Issue: HasColumnName is ignored for Complex Type [604]
I attempted to introduce a Complex Type ContactDetail for my Client class. I added column names mapping through ClientMap.cs file. However, in run-time wrong SQL is generated using convention rather...
View ArticleClosed Issue: HasColumnName is ignored for Complex Type [604]
I attempted to introduce a Complex Type ContactDetail for my Client class. I added column names mapping through ClientMap.cs file. However, in run-time wrong SQL is generated using convention rather...
View ArticleEdited Issue: Native support for Enumerable.Contains [245]
Currently Enumerable.Contains like this:new [1,2,3].Contains(a)Is translated to an sub-tree of expressions equivalent to1 == a || 2 == a || 3 == aThis expression tree is kept balanced to avoid stack...
View ArticleCreated Issue: Hashing simplification for pre-generated views [606]
When mapping views are generated at design-time, they are accompanied by two hash values that are used for run-time validation:a. HashOverAllExtentViews: is computed over the Entity-SQL representations...
View ArticleCreated Issue: No sequential identifier option for code first [607]
When doing code first and you have a GUID as PK there is no way to set the default value to "newsequentialid()". It will always generate a random guid.
View ArticleEdited Feature: Allow DbContext to be created with an already-open existing...
This item was migrated from the DevDiv work item tracking system [ID=7992].
View ArticleEdited 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 Issue: EF6 throws an exception [Invalid column name...
Repro steps: - Create a console application in Visual Studio 2012 - Install official EF5 nuget package to the project - Copy the code below, and execute - Verify that a DB with the name "MyTestDB" is...
View ArticleEdited 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 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 Issue: UpForGrabs: 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 ArticleEdited Feature: UpForGrabs: Turn pluralization & singularization into a...
This would allow anyone to implement non-English version of the service and configure it using a resolver.
View ArticleEdited Issue: Make Transactions work with Async & Connection Resiliency [600]
Transaction.Current uses thread-local storage, meaning that it could be lost in an async invocation.
View ArticleEdited Issue: Update-Database uses generated Configuration, while F5->Migrate...
It's a small inconsistency which left me wondering why my seed data was sometimes showing up and sometimes not (depending on whether I had run 'Update-Database' prior to pressing F5).Prerequisite: A...
View ArticleEdited Issue: Hashing simplification for pre-generated views [606]
When mapping views are generated at design-time, they are accompanied by two hash values that are used for run-time validation:a. HashOverAllExtentViews: is computed over the Entity-SQL representations...
View ArticleEdited Issue: Any DbContext.Configuration change in DbInitializer persists...
SUMMARYYou can specify a custom DbInitializer in your application's configuration to initialize your DB in some custom way. Initializer is passed a DbContext with which you can initialize the DB. Bug:...
View ArticleEdited Issue: EF fails when a winmd assembly is referenced [609]
http://stackoverflow.com/questions/13006980/entity-framework-and-windows-winmd/13021754#13021754
View ArticleEdited Issue: Migrations doesn't handle column names with periods [611]
If .ColumnName is set to a string that contains a '.' the tables create correctly, but when Migrations are enabled/added the generated code no longer compiles. example:".PrimaryKey(t =>...
View ArticleCreated Issue: Code First: Class with two indexers throws Sequence contains...
Repro Steps: put inside a mapped class a custom indexer with two overloads like so: public decimal this[int month] { get { return _someArray[month]; } set { _someArray[month] = value; } } public...
View ArticleCreated Issue: Designer: Better navigation property names when foreign key...
When generating a model from a database using foreign keys, the model generator ends up calling the foreign key id field 'blah' and the navigation property 'blah1'. Instead the generator should use...
View Article