zzz projects Dapper Tutorial
Getting Started Documentation 3rd Party Libraries Knowledge Base Online Examples
  • Getting Started
  • Documentation
  • 3rd Party Libraries
  • Knowledge Base
  • Online Examples
  •   Download  

Dapper Tutorial - Knowledge Base (KB)

4 results for: in tag: autofac

Using what's the preferred way to combine Autofac and Dapper

We've been using EF as the backbone for most of the data access in our current app and we're slowly moving away from it for some of the more server-intensive queries and replacing it with Dapper instead. ...With this in mind, what's the preferred way to i...
autofac c# dapper inversion-of-control ioc-container
asked by Tim

dapper with autofac and repository pattern

I am using dapper with the repository pattern in a WebApi Application and I have the following problem. The Repository Class is as follows... public class Repository : DataConnection, IRepository { public Repository(IDbConnection connection) ...
asp.net-web-api autofac dapper
asked by Christoph Adamakis

Injecting IDbConnection vs IDbConnectionFactory

TLDR:... What are the reasons for injecting a connection factory vs the IDbConnection itself....I'm currently using Autofac in .net MVC to inject an instance of IDbConnection into my repository classes to use with Dapper like so:...Autofac setup:...builde...
asp.net-mvc autofac c# dapper
asked by GisleK

How to mock method properly to return specific data when checking other method with Autofac.Moq?

Have such C# code and try to check method IsFailureProcessStatus to return true. Query method from dapper class SqlMapper which call stored procedures with parameters....public class DatabaseManager : IDatabaseManager { private readonly SqlConnect...
autofac c# dapper moq unit-testing
asked by A. Anatolii

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