SkillAgentSearch skills...

DapperParameters

Facade of Dappers DynamicParameters class to facilitate unit testing.

Install / Use

/learn @IntertechInc/DapperParameters
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated3y ago
Forks3

Languages

C#

Security Score

55/100

Audited on Jan 10, 2023

No findings