All Projects → sakopov → Dapper.AmbientContext

sakopov / Dapper.AmbientContext

Licence: MIT license
Ambient context implementation for Dapper.NET

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Dapper.AmbientContext

dapper-repositories
CRUD for Dapper
Stars: ✭ 523 (+1587.1%)
Mutual labels:  repository, dapper
Banana
🍌 The collection of CRUD helpers for Dapper.
Stars: ✭ 61 (+96.77%)
Mutual labels:  repository, dapper
Transmittable Thread Local
📌 TransmittableThreadLocal (TTL), the missing Java™ std lib(simple & 0-dependency) for framework/middleware, provide an enhanced InheritableThreadLocal that transmits values between threads even using thread pooling components.
Stars: ✭ 4,678 (+14990.32%)
Mutual labels:  context, dapper
GraphQL.RepoDB
A set of extensions for working with HotChocolate GraphQL and Database access with micro-orms such as RepoDb (or Dapper). This extension pack provides access to key elements such as Selections/Projections, Sort arguments, & Paging arguments in a significantly simplified facade so this logic can be leveraged in the Serivces/Repositories that enca…
Stars: ✭ 25 (-19.35%)
Mutual labels:  repository, dapper
SQLBuilder.Core
.NET Standard 2.1、.NET 5、.NET 6 版本SQLBuilder,Expression表达式转换为SQL语句,支持SqlServer、MySql、Oracle、Sqlite、PostgreSql;基于Dapper实现了不同数据库对应的数据仓储Repository;
Stars: ✭ 85 (+174.19%)
Mutual labels:  repository, dapper
Microorm.dapper.repositories
CRUD for Dapper
Stars: ✭ 424 (+1267.74%)
Mutual labels:  repository, dapper
mrgit
A tool for managing projects build using multiple repositories.
Stars: ✭ 42 (+35.48%)
Mutual labels:  repository
langx-java
Java tools, helper, common utilities. A replacement of guava, apache-commons, hutool
Stars: ✭ 50 (+61.29%)
Mutual labels:  repository
receptacle
minimalistic implementation of the repository pattern
Stars: ✭ 18 (-41.94%)
Mutual labels:  repository
meta-repo
Meta-repo is a git repository that contains all the ports trees for Funtoo Linux. (GitHub Mirror)
Stars: ✭ 40 (+29.03%)
Mutual labels:  repository
Foundatio.Repositories
Generic repositories
Stars: ✭ 74 (+138.71%)
Mutual labels:  repository
ioBroker.heatingcontrol
heating control incl. simple actor handling
Stars: ✭ 43 (+38.71%)
Mutual labels:  repository
support
A Laravel 5 package which promotes the use of best practices and design patterns
Stars: ✭ 19 (-38.71%)
Mutual labels:  repository
wikirepo
Python based Wikidata framework for easy dataframe extraction
Stars: ✭ 33 (+6.45%)
Mutual labels:  repository
Hexagonal-architecture-ASP.NET-Core
App generator API solution template which is built on Hexagnonal Architecture with all essential feature using .NET Core
Stars: ✭ 57 (+83.87%)
Mutual labels:  repository
flepper
Flepper is a library to aid in database interaction. 🐸
Stars: ✭ 60 (+93.55%)
Mutual labels:  dapper
react-context
(つ°ヮ°)つ Understanding React Context
Stars: ✭ 11 (-64.52%)
Mutual labels:  context
captcha
Go package captcha generation and verification of image, Refer from https://github.com/dchest/captcha. Use captcha pool generation
Stars: ✭ 29 (-6.45%)
Mutual labels:  context
ember-right-click-menu
An easy and flexible addon to add context menus anywhere in your application
Stars: ✭ 14 (-54.84%)
Mutual labels:  context
repository
[PHP 7] Implementation and definition of a base Repository in Domain land.
Stars: ✭ 26 (-16.13%)
Mutual labels:  repository

Dapper.AmbientContext

Build status NuGet Pre Release

Ambient context implementation for Dapper.

Ambient Context is a little-known pattern which is frequently used by the .NET framework to address cross-cutting concerns such as security (Thread.CurrentPrincipal), logging (Trace & TraceListeners), HttpContext and etc. The general idea is that the application sets up a context, typically at an entry-point of an operation or web request, which becomes available to the rest of the system via a static property or method.

Dapper.AmbientContext uses a similar approach to treat the database connection and transaction as resources which are seamlessly shared between various data access components. This pattern works really well with the service layer which consumes multiple data access repositories, commands and queries to perform a variety of database tasks within the same transaction.

More information in the wiki.

Installation

Install Dapper.AmbientContext with NuGet

Install-Package Dapper.AmbientContext
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].