Quantcast
Channel: Effort - Entity Framework Unit Testing Tool
Browsing all 111 articles
Browse latest View live
↧

Commented Unassigned: EF 6.1.2, Effort 1.1.4 Array Index out of bounds with...

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...

View Article


Commented Unassigned: EF 6.1.2, Effort 1.1.4 Array Index out of bounds with...

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...

View Article


Created Unassigned: Can't add more than 1 entity without an ID [757]

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.

View Article

Created Unassigned: using DbSet.Local I get an error [758]

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...

View Article

Commented Unassigned: EF 6.1.2, Effort 1.1.4 Array Index out of bounds with...

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...

View Article


New Post: Can Effort be used with nested transactions?

I'm currently working on a legacy codebase largely relying onDatabase-first model, EF4, using ObjectContextNested transaction scopes, mostly with ReqiuresNew-option, i.e. not the ambient transaction...

View Article

Created Unassigned:...

When I attempt to run a unit test using Effort, this is the exception I'm getting:```System.Data.Entity.Infrastructure.UnintentionalCodeFirstException was unhandled by user code HResult=-2146233079...

View Article

New Post: DBContext not being populated from CSV files

So, I'm having the same issue. I added [Column(TypeName = "datetime2")] attribute on a DateTime field and now need a workaround for Effort to ignore or work with it, as it is required for the SQL...

View Article


Commented Unassigned: Does Effort support DbGeography type? [700]

Hi everyone,Does anybody know how to extend StoreTypeNameToStorePrimitiveType dictionary to allow map Geography type and DbGEography.Comments: Unfortunately adding a geography type to...

View Article


New Post: is SqlQuery supported in effort with EF6 ?

I have this sql var ctx = new MyContextContext(); SqlParameter param1 = new SqlParameter("@hoy", hoy); SqlParameter param2 = new SqlParameter("@desde", primerDiaMes); SqlParameter param3 = new...

View Article

Created Unassigned: System.InvalidOperationException was unhandled by user...

Attempting to add test data like this using EF 6.1.3:```using System;using System.Data.Entity.Migrations;using Cssd.IT.PortalIntegration.POCO.SISMid.BO;namespace...

View Article

Edited Unassigned: System.InvalidOperationException was unhandled by user...

Attempting to add test data like this using EF 6.1.3:```using System;using System.Data.Entity.Migrations;using Cssd.IT.PortalIntegration.POCO.SISMid.BO;namespace...

View Article

New Post: is SqlQuery supported in effort with EF6 ?

Ok is a limitation. Thanks

View Article


Created Unassigned: Have to manually update context class every time [761]

When using Effort, it requires an interface to be used in the context class, such as in MyAppContext.cs:```//------------------------------------------------------------------------------//...

View Article

Edited Unassigned: Have to manually update context class every time [761]

When using Effort, it requires an interface to be used in the context class, such as in MyAppContext.cs:```//------------------------------------------------------------------------------//...

View Article


Edited Unassigned: Have to manually update context class every time [761]

When using Effort, it requires an interface to be used in the context class, such as in MyAppContext.cs:```//------------------------------------------------------------------------------//...

View Article

Edited Unassigned: Have to manually update context class every time [761]

When using Effort, it requires an interface to be used in the context class, such as in MyAppContext.cs:```//------------------------------------------------------------------------------//...

View Article


New Post: Thrown exception when testing IdentityDbContext from...

Did you manage to resolve this? Can someone post an example of using Effort with IdentityDbContext Any help would be greatly appreciated

View Article

New Post: Lazy Loading not working?

Has any one else had any success with lazy loading when using Effort for unit testing? We have code that relies heavily on lazy loading and it works just fine it runs as web application. But we can't...

View Article

Commented Unassigned: Support for multiple EntityContainers [717]

Hello,In our situation, each EntityContainer maps to exactly 1 schema. A table with the same name _might_ occur in multiple schema's, but until now me managed to avoid this.I'll try to give a more...

View Article
Browsing all 111 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>