This project has moved. For the latest updates, please go here.

"Pks" property returns 0 items.

When using with Database First approach, the "Pks" property returns 0 items. Works fine with code first.

Id #1825 | Release: None | Updated: May 25, 2016 at 7:56 PM by bilal_fazlani | Created: May 25, 2016 at 7:56 PM by bilal_fazlani

Null reference exception in MapperBase.cs

Hello, and thank you for sharing this project under a BSD license. Please refer to Commit 32724. I have made (very minor) adjustments to add support fro EF 6.1.3, with the exception of Spatial t...

Id #1820 | Release: None | Updated: Mar 19, 2016 at 6:22 PM by kferrio | Created: Mar 19, 2016 at 6:22 PM by kferrio

DbMapping can get child classes in the wrong order

Let's say we have classes A and C, which both inherit from class B. The DbMapping constructor will look at them in alphabetical order. It sees that A has an unmapped parent and adds it to nextLevel...

Id #1805 | Release: None | Updated: Dec 28, 2015 at 9:19 PM by tmmueller | Created: Dec 28, 2015 at 9:19 PM by tmmueller

ComplexType properties with underscores

There is an issue with discovering Properties of ComplexType having underscores in their name (which is not a recommended practice in Code First but which can be common in database structures). Th...

Id #1803 | Release: None | Updated: Dec 23, 2015 at 10:48 PM by vbouret | Created: Dec 23, 2015 at 10:48 PM by vbouret

Fails with multiple EDMX files

In a number of places in the code, it is assumed that there is only one collection. Some examples: .GetItemCollection(DataSpace.CSSpace)[0] (in MapperBase) readOnlyCollection[0] (in DbMappi...

Id #1801 | Release: None | Updated: Nov 26, 2015 at 6:40 PM by glen | Created: Nov 26, 2015 at 6:04 PM by glen

Multiple Tables Same Name, Different Schema - Bug

I am using DatabaseFirst / EF6.1 and I have found an issue with the mapping API when multiple tables have the same name, but exist in different schemas. EF will generate an entity set name mapping...

Id #1796 | Release: None | Updated: Aug 24 at 5:24 PM by triynko | Created: Nov 9, 2015 at 4:01 PM by Abbot1177

Multi-threaded issue with EFMap

Hi, First, thanks for the libraries. The Bulk Insert is very useful. I came across a multi-threading issue in EfMap. It uses a dictionary to store generated mappings, populating it on first use...

Id #1770 | Release: None | Updated: Mar 23, 2016 at 2:17 PM by Martin_Lind | Created: Sep 9, 2015 at 2:00 PM by MattDarg

This Code-first entity fails; columns get confused

The item below is incompatible with this MappingAPI. The properites returned confuse the Telemetry_Id and Vehicle_Id columns. using System; using System.ComponentModel.DataAnnotations; using System...

Id #1695 | Release: None | Updated: Apr 17, 2015 at 10:34 PM by brantheman | Created: Apr 17, 2015 at 10:34 PM by brantheman

EF4 and EF5 DbFirst is not supported yet

A first chance exception of type 'System.NotImplementedException' occurred in EntityFramework.MappingAPI.dll Additional information: EF4 and EF5 DbFirst is not supported yet

Id #1688 | Release: None | Updated: May 8, 2015 at 4:53 PM by sgprogrammer | Created: Mar 23, 2015 at 8:20 PM by webroi

Column mapping is wrong when column attribute is used and first column is not key

In this example it mixes up the column names for the two properties class Context : DbContext { public DbSet<Entity> Entities { get; set; } } class Entity { [Colum...

Id #1681 | Release: None | Updated: Mar 14, 2015 at 2:40 PM by eivindbjarte | Created: Mar 14, 2015 at 2:40 PM by eivindbjarte