Table of Contents

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 RelationalCommandBuilderDependencies

Parameter object containing dependencies for this service.

Properties

Dependencies

Dependencies for this service.

public virtual RelationalCommandBuilderDependencies Dependencies { get; }

Property Value

RelationalCommandBuilderDependencies

Methods

Create()

public virtual IRelationalCommandBuilder Create()

Returns

IRelationalCommandBuilder

The newly created builder.