Comments (1)
@ahmedjalalmalik EF Core gives you a transaction for free when you call SaveChangesAsync
, so there is no need to explicitly begin a transaction, unless you wish to alter the default transaction settings (such as timeout or isolation level).
In case you do need to change transaction characteristics, then the best practice is to use System.Transactions, support for which was added in EF Core 2.1.
from urf.core.
Related Issues (20)
- Support for FindManyAsync
- Modify Properties to be virtual
- is there any plan to migrate to .net core 3.1 and ef core 3.1 HOT 1
- Support GroupBy for IQuery
- Primary key is not tracked when Insert multiple entity with single SaveChangesAsync() on .Net Core 3.0 HOT 2
- [question] Why there is a method to load a reference property but not a method to load a collection property from Repository ? HOT 3
- [promotion]You can migrate the SelectPage method from the.NET version to the.NET Core version
- [Enhancement] Update to .NET 5.0 HOT 1
- Prueba
- How do I install myself compiled dotnet-scaffold and dotnet-aspnet-codegenerator tools?
- Typo: IEnumerbale.cs
- Update to .NET 6
- IEnumerable<T> Naming Collision
- A Sample which is More Simple HOT 3
- FindOneAndReplaceAsync Issue
- FindOneAndReplaceAsync Issue
- How to save a child collection
- Update to .NET 7.
- Support AddRange
- Owned Entities HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from urf.core.