RelationalCommandBuilder Class
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.
Builds a command to be executed against a relational database.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class RelationalCommandBuilder : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder
type RelationalCommandBuilder = class
interface IRelationalCommandBuilder
Public Class RelationalCommandBuilder
Implements IRelationalCommandBuilder
- Inheritance
-
RelationalCommandBuilder
- Implements
Remarks
See Implementation of database providers and extensions for more information.
Constructors
RelationalCommandBuilder(RelationalCommandBuilderDependencies) |
Constructs a new RelationalCommand. This type is typically used by database providers (and other extensions). It is generally not used in application code. |
Properties
CommandTextLength |
Gets the length of the command text. |
Dependencies |
Relational provider-specific dependencies for this service. |
Parameters |
The collection of parameters. |
TypeMappingSource |
Obsolete.
The source for RelationalTypeMappings to use. |
Methods
AddParameter(IRelationalParameter) |
Adds the given parameter to this command. |
Append(Object) |
Appends an object to the command text. |
Append(String) |
Appends an object to the command text. |
AppendLine() |
Appends a blank line to the command text. |
Build() |
Creates the command. |
DecrementIndent() |
Decrements the indent of subsequent lines. |
IncrementIndent() |
Increments the indent of subsequent lines. |
RemoveParameterAt(Int32) |
Removes the parameter with the given index from this command. |
ToString() |
Gets the command text. |
Extension Methods
Applies to
Entity Framework