using DbSet.Local I get an error

The following error is generated when attempting to use the Local property on a DbSet instance: System.InvalidOperationException was unhandled by user code HResult=-2146233079 Message=Sequence ...

Id #758 | Release: None | Updated: Aug 7 at 4:09 PM by brantheman | Created: Aug 7 at 4:09 PM by brantheman

Can't add more than 1 entity without an ID

I have a class Customer, with an (auto increment) ID column. Effort throws a "Generic error" exception when two new customers are created (without the ID being specified) and saved.

Id #757 | Release: None | Updated: Aug 3 at 10:59 AM by Kurren123 | Created: Aug 3 at 10:59 AM by Kurren123

Make it possible to add custom mappings to CanonicalFunctionMapper

My use case is that I'm creating custom DbFunctions and mapping them using CodeFirstFunctions (https://codefirstfunctions.codeplex.com/) It works great but I cannot test this with Effort. Running...

Id #756 | Release: None | Updated: Jun 11 at 8:08 PM by leddt | Created: Jun 11 at 8:08 PM by leddt

EF 6.1.2, Effort 1.1.4 Array Index out of bounds with Include

When using EF 6.1.1 and Effort 1.1.4, the following code is working: await context.tableA.Include(a => a.tableB.Select(b => b.tableC)).ToListAsync(); However with EF 6.1.2 and greater, I get the f...

Id #755 | Release: None | Updated: Aug 17 at 9:05 AM by wertzui | Created: Jun 8 at 7:35 AM by wertzui

using DbConnectionFactory.CreatePersistent and clean the tables instead of recreating the database

Hi, I have multiple test running one after each other. when using DbConnectionFactory.CreateTransient, everything works fine, but the database is big and it takes a lot of time to create it. So I...

Id #754 | Release: None | Updated: Jun 1 at 2:54 PM by CedricDumont | Created: Jun 1 at 2:54 PM by CedricDumont

MultipleUniqueKeyFoundException for Auto-generated key field

Hello! Getting the MultipleUniqueKeyFoundException when trying to insert entities. The table has autogenerated int type field and Effort doesn't set the value in that field. It equals 0 after SaveC...

Id #752 | Release: None | Updated: Mar 16 at 9:30 PM by ryletko | Created: Mar 16 at 9:30 PM by ryletko

NullReferenceException when used with EntityFramework.DynamicFilters

I'm using this library: https://github.com/jcachat/EntityFramework.DynamicFilters To define filters on my model (think soft deletes, multi tenancy, etc). If any filter is defined, I get a NullR...

Id #751 | Release: None | Updated: May 16 at 11:23 AM by tamasflamich | Created: Mar 3 at 7:13 PM by leddt

Collections are null if they are empty

Consider this POCO class Family { public int FamilyID {get; set;} public ICollection<Person> Children {get; set;} } This code throws a null reference exception. DbConnection conn = DbConnectionFa...

Id #749 | Release: None | Updated: May 16 at 11:28 AM by tamasflamich | Created: Jan 7 at 5:19 PM by ykosbie

"Argument types do not match" error with Nullable DateTime ?? Operator

I have a problem when querying a condition using the ?? Operator on a Nullable<DateTime> property of my entity. "result1" and "result2" work fine. "result3" throws an "Argument types do not matc...

Id #748 | Release: None | Updated: Apr 24 at 1:43 PM by mathiaskoerner | Created: Jan 6 at 9:13 PM by Tpancoast

Entity Framework 6.1.2 problem

When I upgrade to Entity Framework 6.1.2, I got the following error: System.MissingMethodException Method not found: 'Void System.Data.Entity.Core.Common.DbCommandDefinition..ctor(System.Data.Co...

Id #746 | Release: None | Updated: Jan 6 at 11:33 AM by Tpancoast | Created: Dec 28, 2014 at 5:39 PM by hikalkan