RelationalTransactionFactory Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A factory for creating RelationalTransaction instances.
This type is typically used by database providers. It is generally not used in application code.
public class RelationalTransactionFactory : Microsoft.EntityFrameworkCore.Storage.IRelationalTransactionFactory
type RelationalTransactionFactory = class
interface IRelationalTransactionFactory
Public Class RelationalTransactionFactory
Implements IRelationalTransactionFactory
- Inheritance
-
RelationalTransactionFactory
- Implements
The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.
See Implementation of database providers and extensions for more information and examples.
Relational |
Initializes a new instance of the RelationalTransactionFactory class. |
Dependencies |
Relational provider-specific dependencies for this service. |
Product | Versions |
---|---|
Entity Framework Core | 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: