IDbCommandInterceptor.ReaderExecuted: problems reading Result

I have very similar problem to Issue Nr. 2099 that was closed. What I actually need is to inspect query result and filter it to remove items that user has not rights to see. Unfortunately, when I ...

Id #2573 | Release: None | Updated: Today at 2:46 PM by NordAlex | Created: Today at 2:46 PM by NordAlex

before bakcup an after entity framework migration automatic

Hello everyone, I wanted to know if there was a way to intercept automatic migrations of entity framework. Before migrating I wanted to make a copy of bakcup. How could I do? Are there other ...

Id #2572 | Release: None | Updated: Today at 12:49 PM by brux88 | Created: Today at 12:49 PM by brux88

Potential memory leak: DbCommand instances are not disposed properly

This could be all over the code that instance of DbCommand (or it's child classes) are created and are not being disposed properly. One of the place would be all the execute methods underneath ID...

Id #2571 | Release: None | Updated: Thu at 10:11 PM by tejasavora | Created: Thu at 10:09 PM by tejasavora

EF 6.1.2-beta1 generate incorrect sql in my case

I'm using EF 6.1.2-beta1 code first in my program and have following model in my project(my database generated by EF itself, too): public class Document { public int Id { get; set; } public AppU...

Id #2570 | Release: EF 6.1.2 | Updated: Thu at 9:22 PM by emilcicos | Created: Wed at 11:33 AM by msanaei

DBSet does not implement any interface

EF 6.1.1 Issue: The type DbSet (returned for example by DbContext.Set(Type) method) does not implement any interface. Suggestion/Request: Update the DbSet class so it implements a (newly cre...

Id #2569 | Release: None | Updated: Tue at 8:06 AM by MC | Created: Tue at 8:06 AM by MC

Ignored/unmapped fields are validated

If you have a model with a field that is ignored, but also has a System.ComponentModel.DataAnnotations.RequiredAttribute, then EF will validate that field. Even if the RequiredPrimitivePropertyAttr...

Id #2568 | Release: None | Updated: Mon at 11:46 AM by fejesjoco | Created: Mon at 11:46 AM by fejesjoco

InvalidCastException When Attaching Entity in EF 5 with Different Types to Those Being Attached

SO Post http://stackoverflow.com/questions/26511136/invalidcastexception-when-calling-attach-entity-framework-5 Using TPT Basically I have a Type that has a table (GeneralBasketItem). This is ...

Id #2567 | Release: None | Updated: Oct 24 at 10:42 AM by MagicCloud | Created: Oct 24 at 10:42 AM by MagicCloud

EF 6.1.1 To use UNICODE characters, use an escaped identifier.

When using Chinese entity name, a statement like var ent = String.Join(",", log.Entities.Select(L => L.Type ).ToList().Distinct()); gives an EntitySqlException The simple identifier '部门' must...

Id #2566 | Release: None | Updated: Oct 24 at 7:30 AM by wps8848 | Created: Oct 24 at 6:30 AM by wps8848

Please provide a RemoveAll or GetEnumerator method in ConventionsConfiguration

We're building a code first model generator framework above EF, which does its magic based on a UML model. We always explicitly specify everything that's needed to generate the database: all column...

Id #2565 | Release: None | Updated: Oct 22 at 7:44 PM by fejesjoco | Created: Oct 22 at 7:44 PM by fejesjoco

Entity returned from stored procedue cannot contain complex type.

For the following POCOs public class Graph { public Id {get; set;} public Element prop{get; set;} } public class Element { public Id {get; set;} } where Graph is configured as EntityType...

Id #2563 | Release: None | Updated: Oct 22 at 7:14 PM by DrDave | Created: Oct 22 at 7:14 PM by DrDave