IRawSqlCommandBuilder Interface
Definition
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.
Creates commands based on raw SQL command text.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public interface IRawSqlCommandBuilder
type IRawSqlCommandBuilder = interface
Public Interface IRawSqlCommandBuilder
Remarks
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.
Methods
Build(String, IEnumerable<Object>, IModel) |
Creates a new command based on SQL command text. |
Build(String, IEnumerable<Object>) |
Creates a new command based on SQL command text. |
Build(String, IReadOnlyList<Object>) |
Creates a new command based on SQL command text. |
Build(String) |
Creates a new command based on SQL command text. |
Applies to
Entity Framework