zzz projects Entity Framework Core EF Core
Home Articles Knowledge Base Online Examples
  • Home
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework Core - Knowledge Base (KB)

6 results in tag: dapper

EF query refactoring tips

This query takes almost ...40... seconds ...(runs 3 times at startup...)...:...return context.Audits .Include(a => a.Phases.Select(p => p.UserActionLogs)) .Include(a => a.Phases.Select(p => p.Reminders)) .Include(a => a.Phases.Sele...
c# dapper entity-framework entity-framework-6
asked by grmbl

What is the best way to acquire an IDbTransaction from an IDbContext?

An ...IDbContext... has a ...DatabaseFacade..., which has a ...CurrentTransaction... property. But the ...CurrentTransaction... is an ...IDbContextTransaction.... I want to pass an ...IDbTransaction... to Dapper....How do I get an ...IDbTransaction... ins...
dapper entity-framework-core
asked by Ian Warburton

What's the difference between Dapper and EF Core FromSql / ExecuteSQL?

What is the difference between EF Core FromSql / ExecuteSQL and Dapper? They are both using raw SQL commands. Is the only difference being, Dapper is faster and has higher performance than the latest Entity Framework Core?
c# dapper entity-framework-core
asked by user10432265

Is it possible to utilize ASP.NET Boilerplate instead of Entity Framework Core with Dapper?

I'm new to ASP.NET Boilerplate and Dapper. From the tutorial I got to know that ASP.NET Boilerplate works with Entity Framework Core. Can we use another Data Access Layer instead of EF Core? Is ASP.NET Boilerplate compatible with Dapper?
aspnetboilerplate dapper entity-framework-core
asked by Sa fa

The transaction between Dapper and EF Core fails with an error. Parallel transactions are not supported by SqlConnection.

I started using EF Core with Dapper and while trying to use them both inside a TransactionScope when I call context.SaveChanges() I get the error ...SqlConnection does not support parallel transactions.... The code is the following:...public class TestCon...
.net-core c# dapper entity-framework entity-framework-core
asked by pantonis

With concurrent processes, Dapper query times skyrocket.

I've built a .NET Core 3.1 API. The API does a lot of work, and the bulk of it is executing SQL Queries. Most of the API uses EF Core for its data access. However, for one particularly critical query, we've discovered that Dapper offered a significant per...
asp.net-core asp.net-web-api dapper entity-framework entity-framework-core
asked by Ryanman

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!