Implement support for providing name for Primary Key constraint/index

From SO ... By convention, EF generates "PK_<Schema>.<TableName>" as the backing index name for an entity primary key. I would like to provide specif...

Id #2416 | Release: None | Updated: Tue at 6:53 PM by SamStack | Created: Tue at 6:53 PM by SamStack

A decimal place is appended to a field of type decimal(10,0)

In my database I have a field which I know will always be 10 digits long, so naturally I've opted for a decimal(10,0) type, when I insert values into the table I can insert any number up to 10 digi...

Id #2415 | Release: Investigation | Updated: Tue at 11:25 PM by maumar | Created: Sun at 11:20 AM by mohammadsepahvand

Behavior difference when modifying AspNet entities using EntityTypeConfiguration()

Howdy! I'm attempting to do something similar as in this SO posting I prefer to use custom EntityTypeConfiguration<>() classes but I provoke an exc...

Id #2414 | Release: Investigation | Updated: Mon at 6:08 PM by RoMiller | Created: Fri at 9:45 PM by SamStack

Outer apply and duplicate left outer joins in query. Also the SQL query seems nicer if generated with EF5.

This has been reported by the user fsoikin as part of issue 2196 but seems to be caused by a different problem. Model: public class A { public int Id { get; set; } public string Name { ge...

Id #2413 | Release: Investigation | Updated: Mon at 6:11 PM by RoMiller | Created: Fri at 8:31 PM by emilcicos

Entity Framework 6.1.1 and Large Model Issue

Hi, I've a huge database with around +1100 tables in it, I am trying to use entity framework and split the tables to multiple different diagrams to avoid the model crashes issue, I've added aroun...

Id #2411 | Release: Investigation | Updated: Fri at 6:14 PM by RoMiller | Created: Fri at 12:10 AM by hazem_salem

Wrong foreign key transcription

I have a strange issue with this message when saving a new created entity : An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEn...

Id #2405 | Release: Investigation | Updated: Jul 24 at 8:07 AM by erictosi | Created: Jul 22 at 8:00 AM by erictosi

error in DropPrimaryKey?

Hi all, I have this migration script with ef 6.1.1 DropPrimaryKey("dbo.Diario"); AddColumn("dbo.Diario", "CreatedAt", c => c.DateTimeOffset(nullable: false, precision: 7, annotation...

Id #2404 | Release: Investigation | Updated: Mon at 9:29 PM by leandroshan | Created: Jul 22 at 6:57 AM by lucamorelli

UpForGrabs: 'EntityValidationErrors' property not inspectable in Visual Studio 2013

I have an error where the message says: A first chance exception of type 'System.Data.Entity.Validation.DbEntityValidationException' occurred in EntityFramework.dll Additional information: Vali...

Id #2401 | Release: Future | Updated: Jul 21 at 8:21 PM by RoMiller | Created: Jul 16 at 3:17 PM by Grokys

SynchronizationContext capture not work with lambda expression on first time execution

There is a SynchronizationContext capture problem in async methods: ex: var query = from a in dbContext.A where ... (access HttpContext.Current here) .. select a; var result = await query.T...

Id #2400 | Release: Investigation | Updated: Jul 16 at 6:10 PM by AndriySvyryd | Created: Jul 15 at 8:51 AM by westjeffho

EF track back the detached entity after 30 minutes or so

Hi, I was referred to this site by msdn. Here is my original post from that site.

Id #2399 | Release: Investigation | Updated: Jul 14 at 6:04 PM by RoMiller | Created: Jul 14 at 3:27 PM by roggss