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.
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.
public class RelationalCommandBuilderFactory : IRelationalCommandBuilderFactory
- Inheritance
-
RelationalCommandBuilderFactory
- Implements
- Inherited Members
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
Dependencies for this service.
public virtual RelationalCommandBuilderDependencies Dependencies { get; }
Property Value
Methods
Create()
Creates a new IRelationalCommandBuilder.
public virtual IRelationalCommandBuilder Create()
Returns
- IRelationalCommandBuilder
The newly created builder.