Skip to content

Latest commit

 

History

44 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

1.1.1-preview.2

  • Detailed logging. Explicitly specify ConnectionStringLength in the log.

1.1.1-preview.1

  • Detailed logging. Explicitly specify TDbContext in the log.
  • Multi-targeting for .NET 10.

1.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.

1.0.0

0.2.0

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

0.1.0

  • First release.

About

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

Topics

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages