Canonicalize comparisons of boolean expressions

At the moment comparisons involving boolean expressions (such as myBoolCol == false) result in a few different SQL patterns depending on what exact way the comparison is written in LINQ. While sema...

Id #2696 | Release: None | Updated: Today at 3:51 PM by xor88 | Created: Today at 2:34 PM by xor88

Entity Framework(6.1.2) Table Per Hierarchy(TPH) Guid foreign key discriminator error

I have a Table per Hierarchy but when i made a Guid foreign key as the discriminator column, the migration failed with error:-Condition can not be specified on values of member ''. Value conditions...

Id #2695 | Release: None | Updated: Feb 28 at 10:53 PM by ahmedtolba1984 | Created: Feb 28 at 10:51 PM by ahmedtolba1984

EF 6.1.2 generate incorrect sql

I was using EF 6.1.1 in my projects with mysql connector .net 6.9.5. After updating to EF 6.1.2 some queries generate exceptions of type System.Data.Entity.Core.EntityCommandExecutionException. ...

Id #2694 | Release: Investigation | Updated: Feb 28 at 4:18 PM by carlosayala | Created: Feb 27 at 12:36 AM by carlosayala

Dataannotation Range does not create the equivalent check in the database

In my Entity "Request.cs" I have the following property: /// <summary> /// Gets or sets the number of ..... /// </summary> [Range(1, 30), DataMember] public long NumberOfRepetitions I have except...

Id #2693 | Release: None | Updated: Feb 27 at 4:44 PM by alugili | Created: Feb 26 at 11:07 AM by balugili

Redundant joins on Include and Where on related entity.

When using Entity Framework 6.1.2 given that ProductDetail has a Primary Foreign Key to the Product Table in a 1<->0..1 relationship the following LINQ produces an extra join that should be unneces...

Id #2692 | Release: None | Updated: Feb 26 at 10:16 AM by lexarchik | Created: Feb 26 at 9:48 AM by MarkFl12

Update References to Visual Studio 14 to Visual Studio 2015

There are some references to Visual Studio 14 in the EFTools code. Change all of these to Visual Studio 2015.

Id #2691 | Release: EF 6.1.3 | Updated: Feb 26 at 10:41 PM by lajones | Created: Feb 25 at 8:57 PM by lajones

Code First: Allow subclasses to map field to same database column with TPH inheritance

I have the same problem found in this issue here. I'm using <package id="EntityFramework" version="6.1.2" targetFramework="net45" />, testing it in Console Application and I guess the bug still lin...

Id #2690 | Release: None | Updated: Feb 26 at 8:47 PM by RoMiller | Created: Feb 24 at 1:28 PM by komentar

UpForGrabs: Cascade delete isn't generated when dependent entity mapped to the table of another entity

public class A1 { public virtual int Id { get; set; } public virtual A2 A2 { get; set; } } public class A2 { public virtual int Id { get; set; } public virtual ICollection<B> Bs { get; set; } } ...

Id #2688 | Release: Future | Updated: Feb 24 at 11:56 PM by RoMiller | Created: Feb 23 at 1:55 PM by AlexanderVasilyev

Ef MIgrations Issue with TPH

Hi, I'm working in a project that are using migration and we have to create an TPH mapping that is not working. As we can see bellow: public abstract class LoanStatus : ValueObject { public stri...

Id #2687 | Release: Investigation | Updated: Feb 24 at 9:40 PM by AndriySvyryd | Created: Feb 21 at 7:50 PM by Michelmob

Performance issue when querying varbinary(MAX) with Async

There's a huge performance issue when querying a table containing varbinary(MAX) columns with .ToListAsync(). The problem is EF, despite the presence of varbinary(max) column, uses CommandBehavior....

Id #2686 | Release: Investigation | Updated: Feb 23 at 7:22 PM by RoMiller | Created: Feb 20 at 9:19 PM by rducom