Edited Issue: Update DbContext templates to generate EF6 code [806]
Using EF6. Database first.In designer right click and select "Update model from database", select any stored procedure and then try building my project in VS2012 results in a compilation error in the...
View ArticleCommented Issue: Update DbContext templates to generate EF6 code [806]
Using EF6. Database first.In designer right click and select "Update model from database", select any stored procedure and then try building my project in VS2012 results in a compilation error in the...
View ArticleCommented Issue: Collection should not be loaded on navigation property [755]
I have a pretty simple model consisting of a Post with a User navigation property (public User CreatedByUser { get; set; }). The User object also has a navigation property for the collection of posts...
View ArticleEdited Issue: Collection should not be loaded on navigation property [755]
I have a pretty simple model consisting of a Post with a User navigation property (public User CreatedByUser { get; set; }). The User object also has a navigation property for the collection of posts...
View ArticleClosed Issue: Collection should not be loaded on navigation property [755]
I have a pretty simple model consisting of a Post with a User navigation property (public User CreatedByUser { get; set; }). The User object also has a navigation property for the collection of posts...
View ArticleCommented Issue: Non-generic IQueryable.Include does not work [786]
Hi,it seems `IQueryable.Include(...)` does not work for collections when using non-generic DbSet. Eg. `dbContext.Set(typeof(Entity)).Include("Collection")` will not load items included in the...
View ArticleEdited Issue: Non-generic IQueryable.Include does not work [786]
Hi,it seems `IQueryable.Include(...)` does not work for collections when using non-generic DbSet. Eg. `dbContext.Set(typeof(Entity)).Include("Collection")` will not load items included in the collection.
View ArticleCommented Issue: implementing IDictionary results in not mapped [664]
implementing IDictionary results in not mapped.example attached :using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;namespace dict.Models{ public class...
View ArticleEdited Issue: implementing IDictionary results in not mapped [664]
implementing IDictionary results in not mapped.example attached :using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;namespace dict.Models{ public class...
View ArticleCommented Issue: Consider bringing back EntityFunctions and...
When we merged the core EF functionality into EntityFramework.dll we did some refactorings. In particular, we renamed and moved the EntityFunctions class to align it with the DbContext API. However, in...
View ArticleEdited Issue: Consider bringing back EntityFunctions and EdmFunctionAttribute...
When we merged the core EF functionality into EntityFramework.dll we did some refactorings. In particular, we renamed and moved the EntityFunctions class to align it with the DbContext API. However, in...
View ArticleCommented Issue: EF cross checks EDM and CLR enum members in some cases [623]
We relaxed requirements for matching EDM and CLR enum types so that the EDM type does not have to have all members that the CLR type has. However we missed a check we had in DbExpressions. It shows up...
View ArticleCommented Issue: NullReferenceException when using Migrations and 6.0 alpha3...
I just updated my project to the 6.0.0-alpha 3 and now I am getting the following exception:```[NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.]...
View ArticleCommented Issue: NullReferenceException when using Migrations and 6.0 alpha3...
I just updated my project to the 6.0.0-alpha 3 and now I am getting the following exception:```[NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.]...
View ArticleCreated Issue: System.Data.SqlServerCe.Entity.dll is wrongly include in the...
The EntityFramework.SqlServerCompact Nuget package contains System.Data.SqlServerCe.Entity.dll, but this file has now been replaced by EntityFramework.SqlServerCompact.dll - not only that, but the...
View ArticleCreated Issue: Wrong AssemblyVersion.cs content [916]
The EntityFramework.SqlServerCompact project has an AssemblyVersion.cs file with wrong information:```[assembly: AssemblyTitle("EntityFramework.SqlServer.dll")][assembly:...
View ArticleCreated Issue: EntityFramework 6.0.0-alpha3 - EdmxWriter.WriteEdmx() fails...
The following extension works for EF6 alpha2 but stopped working with alpha3 with null reference exception. The failing statement is the EdmxWriter.WriteEdmx(..)The views pre-generation is performed on...
View ArticleCommented Issue: EntityFramework 6.0.0-alpha3 - EdmxWriter.WriteEdmx() fails...
The following extension works for EF6 alpha2 but stopped working with alpha3 with null reference exception. The failing statement is the EdmxWriter.WriteEdmx(..)The views pre-generation is performed on...
View ArticleCreated Issue: AsNoTracking().Where(x => x.myPK > aValue).Take(aNumber) wrong...
Calling the following code:```// aValue and aNumber are guaranteed valid integers for this scenario. // myPK is the primary key and is of type int.var cdrs = entities.MyTable.AsNoTracking().Where(x...
View ArticleCommented Issue: System.Data.SqlServerCe.Entity.dll is wrongly include in the...
The EntityFramework.SqlServerCompact Nuget package contains System.Data.SqlServerCe.Entity.dll, but this file has now been replaced by EntityFramework.SqlServerCompact.dll - not only that, but the...
View Article