Skip to content

Facade of Dappers DynamicParameters class to facilitate unit testing.

License

Notifications You must be signed in to change notification settings

IntertechInc/DapperParameters

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages