Commented Issue: error 2010: The Column 'ColumnName' specified as part of...
Hello,I am using __EntityFramework.6.0.0-alpha3-20405__I have some Code First TPH classes. The above error seem to appear randomly with certain InverseProperty associations. Any leads will be...
View ArticleNew Post: Release connection when using IDbConnectionFactory
OK, if the DbContext is considered to always own the connection and disposes it, then it's fine. I was just thinking doing the cleanup myself. The only problem that might (or not) happen is when you...
View ArticleCommented Issue: Power Tools: Context menu commands not working in project...
None of the actions from the file context menu is working when the project is under a solution folder. A message box saying “Sequence contains no matching element” is displayed, no exception is written...
View ArticleNew Post: Issue 1043-Efficient API to ask if there are pending changes on a...
I read the description of this issue and specially the things to be decided: Location: we could put this on either ChangeTracker or on DbContext directly. Naming: Pick one between HasChanges, IsDirty...
View ArticleCreated Unassigned: EntityFramework 5 Code First multiple inheritance mapping...
#Steps to Reproduce#---##Model## public class Gender{[Key] public Guid GenderId { get; set; }[Required][MaxLength(250)] public string Name { get; set; }} public abstract class Person{[Key] public Guid...
View ArticleEdited Issue: Designer: All primary keys should be clustered (affects SQL...
I designed an entity data model with two entities between which there exists a many to many relationship. When I auto-generate SQL code to generate the database for this model, it has generated a table...
View ArticleCommented Issue: Spatial :: performing spatial operations on client, when...
When performing spatial operations on the client we require sql types 11. If one removes this dll, we get the following exception:System.Reflection.TargetInvocationException: Exception has been thrown...
View ArticleClosed Issue: Spatial :: performing spatial operations on client, when...
When performing spatial operations on the client we require sql types 11. If one removes this dll, we get the following exception:System.Reflection.TargetInvocationException: Exception has been thrown...
View ArticleCommented Feature: Math.Truncate is not mapped in Linq, even though we have...
Calling Math.Truncate function calls not supported exception. This should be supported, since we have a canonical function Truncate for this purpose. Comments: Added more tests in 63dea73
View ArticleClosed Feature: Math.Truncate is not mapped in Linq, even though we have...
Calling Math.Truncate function calls not supported exception. This should be supported, since we have a canonical function Truncate for this purpose.
View ArticleCommented Issue: Add and Delete different navigation properties of the same...
I have to classes PersonContactInfo and Address. There are two Navigation properties AlternateAddress and .MailingAddress within PersonContactInfo class. In case then i try add AlternateAddress and...
View ArticleClosed Issue: UpForGrabs: Consider adding DbSet.AddRange API [965]
Invoking DbSet.Add multiple times when numerous separate entities need to be added can be very slow as each call to Add will trigger DetectChanges. We provide guidance on how to turn off automatic...
View ArticleNew Post: Issue 1043-Efficient API to ask if there are pending changes on a...
Hi Unai, Nice to hear from you on this so quickly :) We discussed this briefly and we came to some decisions (feel free to push back if you think these are wrong):"Name: HasChangesLocation:...
View ArticleCreated Feature: UpForGrabs: Consider adding DbSet.RemoveRange API [1050]
(note to triage: this is a futures item but we could take it if it is contributed)We recently added [DbSet.AddRange](https://entityframework.codeplex.com/workitem/965). There are good reasons to also...
View ArticleCreated Feature: Consider Providing SQL Server Spatial NuGet Package [1051]
We've confirmed with the SQL Server spatial team that these assemblies are bin deployable. This post has more details -...
View ArticleClosed Issue: Designer: All primary keys should be clustered (affects SQL...
I designed an entity data model with two entities between which there exists a many to many relationship. When I auto-generate SQL code to generate the database for this model, it has generated a table...
View ArticleEdited Feature: Power Tools: Option to Generate Entities Separately from...
In many real-world scenarios, it is common to place entities in a separate project than code which is specific to a particular data access API, in order to retain better separation of concerns and...
View ArticleCommented Feature: Power Tools: Option to Generate Entities Separately from...
In many real-world scenarios, it is common to place entities in a separate project than code which is specific to a particular data access API, in order to retain better separation of concerns and...
View ArticleEdited Issue: Retargetting framework fails to update namespaces in EDMX file...
Create a new project (e.g. C# console project)Using the project's properties change the target framework to .NET 4.0Create an empty ADO.NET Entity Data ModelAdd 1 Entity with 1 propertySave everything...
View ArticleEdited Feature: Migrations: Don't require -Force for data loss when using...
When using -Script, we still require -Force if we detect any operations that would result in potential data loss. We should consider removing this requirement because when using -Script the SQL is not...
View Article