Skip to content

Repository files navigation

DapperParameters

Facade of Dappers DynamicParameters class to facilitate unit testing.

Available on NuGet

Blog post here

Define in your dependency injection tool of choice

  • Interface: IDapperParameters
  • Implementation: DapperParameters

SimpleInjector example:

container.Register<IDapperParameters, DapperParameters>(Lifestyle.Transient);

Use in conjunction with DapperWrapper

When used with DapperWrapper, it is possible to unit test your data layer.

Sample Unit Tests

Sample unit tests (and setups) are available in the source using Moq and SimpleInjector.

About

Facade of Dappers DynamicParameters class to facilitate unit testing.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages