Commented Issue: Issue migrating across schema changes [584]
The initial migration across a schema change works correctly, but then if the project is reverted and then updated again issues arise.Repro:create a project Enable-MigrationsAdd-Migration...
View ArticleCreated Issue: Change the data type of EntityFunction.AddMilliseconds...
http://msdn.microsoft.com/en-us/library/dd382810.aspxWith AddMilliseconds, we can add only a maximum of ~25 days. If this is not a limitation of SQL Server, would it be possible to change the data type...
View ArticleEdited Issue: MustFix: EF Designer may blindly overwrite facets of C-Space...
There is a new feature in EF Designer in VS2012 where we update facets of C-Space properties based on facets on S-Space properties. This is done to propagate changes the user made to the database to...
View ArticleEdited Issue: MustFix: Nesting an .edmx under a project folder causes .tt to...
Repro steps:1. Create a project2. Add a project folder ("Models")3. Add a new .edmx ("Model1") into the project folder4. Add an entity ("car") and save.Expected:A new Car.cs file under Model1.tt, as...
View ArticleEdited Task: MustFix: Designer: Reduce VM usage when adding new model [414]
We should try and reduce the virtual memory usage when you add a new Entity Data Model in VS2012.
View ArticleEdited Issue: MustFix: Linq to EF Join throws “Index was out of range” after...
Tracking of an issue reported in StackOverflow: http://stackoverflow.com/questions/12489749/linq-to-ef-join-throws-index-was-out-of-range-after-upgrade-from-vs2010-to-vs2There's an easy workaround, but...
View ArticleEdited Issue: MustFix: Using enum with multiple assemblies and derived types...
This can be reproduced in the following scenario:1. Base class with an enum2. two derived classes in different assembliesException Message: No corresponding object layer type could be found for the...
View ArticleCreated Issue: MustFix: EF6 should work in partial trust [586]
This item is to track some changes we need to do in the core bits in order to enable it to work in partial trust.
View ArticleClosed Issue: MustFix: Linq to EF Join throws “Index was out of range” after...
Tracking of an issue reported in StackOverflow: http://stackoverflow.com/questions/12489749/linq-to-ef-join-throws-index-was-out-of-range-after-upgrade-from-vs2010-to-vs2There's an easy workaround, but...
View ArticleEdited Issue: MustFix: Logic to create tables on empty database should not...
We currently have logic like this in the database checker class: switch (providerName) { case "System.Data.SqlClient": provider = new SqlPseudoProvider(); break; case "System.Data.SqlServerCe.4.0":...
View ArticleNew Post: DbContext Connection events or overrides
I'd love to know when EF opens and is about to close its connection to the database. I need to write a DbContext in which opening the connection sets the app role and the app role is unset just prior...
View ArticleCreated Issue: EF.dll tries to load SQL Server provider even when not using...
EntityFramework.SqlServer is loaded when SaveChanges is called even when the SQL Server provider is not being used. Usually this is not noticed because the assembly is available and so the load...
View ArticleNew Post: Query generation in batch insert scenarios
Hey Andriy I think i understand a little more about how the code fits together but before I go too much further I just wanted to bounce my idea for implementing multiple inserts in a single statement...
View ArticleNew Comment on "Documentation"
Visual Studio 2012 is already out. Please remove the "RC" from the "Getting and Building Code" section.
View ArticleNew Comment on "Documentation"
Visual Studio 2012 is already out. Please remove the "RC" from the "Getting and Building Code" section. Also, the Sql Server Express link goes to the 2008 version.
View ArticleCreated Issue: Automate setting ConcurrencyMode=Fixed [588]
Please add a feature to automatically set ConcurrencyMode=Fixed.EF defaults to no concurrency control (last write wins) which allows lost updates.Enforcing optimistic concurrency checks can explicitly...
View ArticleNew Post: The proper ConnectionString For EF 5.0 to be set in a DAL Module
The Structure of the project : There is a modules folder which I need to add the database and make the repository just there, Other modules and assemblies could use that. The Database Location :...
View ArticleCommented Issue: UpForGrabs: Make it easy to use .sql files deployed...
When you want to include quite a lot of SQL in a migration it is nice to be able to put it in a separate SQL file rather than inline in the code. It would be good if Migrations had a means to easily...
View ArticleCommented Issue: Add the debug symbols for EF to SymbolSource [386]
It would often be useful for us developers to be able to step through the EF code to understand why it does something or why something doen't work. Having the debug symbols distributed with the nuget...
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 Article