MoonStorm
NuGet publisher profile
Packages (3)
Dapper.FastCrud
You hate verbatim SQL queries with zero type safety for your code but you love the speed? Dapper.FastCRUD is built around essential features of the C# 6 / VB that have finally raised the simplicity of raw SQL constructs to acceptable maintenance levels. These features leave no chance to mistypings or problems arising from db entity refactorings. Visual Studio 2019 or later is recommended.
Dapper.FastCrud.ModelGenerator
Entity generation using classic component model annotations for Dapper.FastCrud from a LocalDb or Sql Server database. Entity domain partitioning can be achieved via separate template configurations. The installation package provides a sample config file, SampleModelGeneratorConfig.tt. Do not modify GenericModelGenerator.tt, as future upgrades via NuGet will fail to update this file. More details are available on the project site.
Ninject.Extensions.UnitOfWork
Extension that enables the usage of unit-of-work patterns in non-web applications. You could look at this as being the equivalent of InRequestScope from web environments in console applications and services. The unit-of-work scopes are kept consistent across async calls and tasks. Setup: _kernel.Bind<IService>().To<Service>().InUnitOfWorkScope(); Usage: using(UnitOfWorkScope.Create()){ // resolves, async/await, manual TPL ops, etc }