Class RelationalCommandBuilderFactory
- Namespace
- Microsoft.EntityFrameworkCore.Storage
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Factory for RelationalCommandBuilder instances.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class RelationalCommandBuilderFactory : IRelationalCommandBuilderFactory
- Inheritance
-
RelationalCommandBuilderFactory
- Implements
- Inherited Members
Remarks
The service lifetime is Singleton. This means a single instance is used by many Microsoft.EntityFrameworkCore.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.
Constructors
RelationalCommandBuilderFactory(RelationalCommandBuilderDependencies)
Constructs a new RelationalCommand.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public RelationalCommandBuilderFactory(RelationalCommandBuilderDependencies dependencies)
Parameters
dependencies
RelationalCommandBuilderDependenciesParameter object containing dependencies for this service.
Properties
Dependencies
Relational provider-specific dependencies for this service.
protected virtual RelationalCommandBuilderDependencies Dependencies { get; }
Property Value
Methods
Create()
Creates a new IRelationalCommandBuilder.
public virtual IRelationalCommandBuilder Create()
Returns
- IRelationalCommandBuilder
The newly created builder.