When saving an Entity Framework (6.1.3) entity with a Timestamp column (concurrency mode set to "Fixed"), Entity Framework uses the original value obtained when the entity was first loaded for the ...
Id #2789 | Release:
| Updated: Today at 5:27 PM by indigosquared | Created: Today at 5:24 PM by indigosquared
If I try the EF Code First Migration sample with the EF 5.0.0 NuGet package I can create the initial database without problems. At the moment I use the Enable-Migrations command I get the following...
Id #2788 | Release:
| Updated: Wed at 7:01 PM by RoMiller | Created: Tue at 6:41 PM by antiohne
The following query crashes when compiled with VS2015 RTM, but works when compiled with the old compiler in VS2013:
public async Task<List<ProductRelation>> FailingQuery(SampleEnum queryOption)
Id #2785 | Release:
| Updated: Today at 6:20 PM by RoMiller | Created: Mon at 6:54 AM by rothdave
Some exceptions contain information about Entity Key value. This may be a security concern, if the key is not surrogate. We should consider not exposing those values via exception messages
Id #2784 | Release:
| Updated: Wed at 7:05 PM by RoMiller | Created: Jul 24 at 8:45 PM by maumar
I'am trying to load entities through several threads where each thread has its own DbContext with the Option NoTracking to get a performance benefit of retrieving the data. After that i tried to at...
Id #2783 | Release:
| Updated: Jul 24 at 6:11 PM by RoMiller | Created: Jul 22 at 9:00 PM by Killerkeule
I have two extension methods like this
public static IQueryable<T> CurrentVersion(this IQueryable<T> queryable, DateTime date)
return queryable.Where(p => p.CreationDate>date);
Id #2778 | Release:
| Updated: Jul 14 at 6:20 PM by RoMiller | Created: Jul 14 at 8:10 AM by mazad
Ok, so I have a weird one... It looks like if you have composite keys that include a Guid then navigation properties don't work unless the Guid is an empty guid (All zeros).
to much code to put h...
Id #2777 | Release:
| Updated: Jul 16 at 6:55 PM by jhandel | Created: Jul 13 at 12:57 PM by jhandel
EF will include extra Id columns when selecting a bunch of columns to retrieve, but it does not do so when selecting a single column:
Id #2773 | Release:
| Updated: Jul 10 at 6:26 PM by RoMiller | Created: Jul 5 at 4:14 PM by br1
This is some simple code for user polls. I'm trying to count poll votes:
public class PollAnswer : EntityBase
PollUserAnswers = new HashSet<PollUserAnswer>()...
Id #2764 | Release:
| Updated: Jun 16 at 6:16 PM by RoMiller | Created: Jun 16 at 12:19 PM by xumix
Copied from here:
just a test:
When i pu...
Id #2763 | Release:
| Updated: Jun 16 at 6:17 PM by RoMiller | Created: Jun 15 at 9:03 PM by maumar