Skip to content

OneWorldDbClient for Database Transaction Management DI for .NET Core's DI

License

Notifications You must be signed in to change notification settings

SiroccoHub/OneWorldDbClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneWorldDbClient

Documentation on using OneWorld Db Client is not available currently, sorry.

Merge Validation

What is OneWorldDbClient?

OneWorldDbClient is a DI Component for .NET Core / ASP NET Core for using micro-ORM (like Dapper) with EF Core together under combined DB Transaction.

By using OneWorldDbClient, you can safely share and use DB connections and transactions across multiple DI instances.

Why is OneWorldDbClient?

https://medium.com/team-sirocco-publications/approach-of-db-transactions-using-asp-net-core-ef-core-orm-like-dapper-and-di-implementation-bf9a72b85237

Getting Started

There are currently two Nuget packages - the core library (OneWorldDbClient) and a extension package for Microsoft SQL Server (OneWorldDbClient.SqlServer).

NuGet Installation

Simply installing the following Nuget package:

Install-Package OneWorldDbClient
Install-Package OneWorldDbClient.SqlServer

How to use in ASP NET Core

https://medium.com/team-sirocco-publications/approach-of-db-transactions-using-asp-net-core-ef-core-orm-like-dapper-and-di-implementation-bf9a72b85237

History

v1.1.0

  • Fix invalid log comment.
  • Fix the first transaction's behavior.
    • The first RequresNew Tx has the own scope, The first Requred Tx has the manager scope.

v1.0.0

v0.2.0

  • Breaking chagne: Forgetting to vote is abnormal and throws an InvalidOperationException().

v0.1.0

  • First release.