code first support for view

allow to define a view by code first. actually we can map an entity to a view but it then becomes nasty to: generate the database, migrate the database evolve the schema in general It shou...

Id #2410 | Release: None | Updated: Today at 10:10 AM by tschmit007 | Created: Today at 10:10 AM by tschmit007

DbGeography SqlBulkCopy

I am trying to Bulk copy a Datatable that contains a column typeof DbGeography. I am using MVC5, Entity Framework ver = 6.1.1 I am getting this error {System.InvalidOperationException: The g...

Id #2409 | Release: None | Updated: Today at 4:13 AM by dco5 | Created: Today at 4:13 AM by dco5

Navigation property does not load data from memory

Hello, I believe this is an issue, so, the problem looks like this: I add a new entity in the DBContext, that entity should be a navigation property to a certain instance, the problem is that t...

Id #2408 | Release: Investigation | Updated: Wed at 6:36 PM by RoMiller | Created: Wed at 11:49 AM by Nadynho

error dropping primary key

Hi, I'm studying this tutorial: http://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-use-existing-sql-database/ To add support for mobile service to an ar...

Id #2407 | Release: None | Updated: Tue at 8:58 PM by lucamorelli | Created: Tue at 8:58 PM by lucamorelli

Entity FrameWork User Database.SqlQuery Partail Can't Mapping

Entity FrameWork User Database.SqlQuery Partail Can't Mapping

Id #2406 | Release: None | Updated: Tue at 2:00 PM by cxlong | Created: Tue at 2:00 PM by cxlong

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: Today at 8:07 AM by erictosi | Created: Tue 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: Wed at 6:40 PM by RoMiller | Created: Tue 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: Mon 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. http://social.msdn.microsoft.com/Forums/en-US/a939d0ed-7aec-4955-8aef-1c508ef07b89/multiplicity-constraint-vi...

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