RelationalCommandParameterObject Struct

Definition

A parameter object for the execution methods on RelationalCommand.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct RelationalCommandParameterObject
public readonly struct RelationalCommandParameterObject
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct RelationalCommandParameterObject : IEquatable<Microsoft.EntityFrameworkCore.Storage.RelationalCommandParameterObject>
[<System.Runtime.CompilerServices.IsReadOnly>]
type RelationalCommandParameterObject = struct
type RelationalCommandParameterObject = struct
Public Structure RelationalCommandParameterObject
Public Structure RelationalCommandParameterObject
Implements IEquatable(Of RelationalCommandParameterObject)
Inheritance
RelationalCommandParameterObject
Attributes
Implements

Remarks

See Implementation of database providers and extensions for more information and examples.

Constructors

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)
Obsolete.

Creates a new parameter object for the given parameters.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, IReadOnlyList<ReaderColumn>, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>, Boolean)

Creates a new parameter object for the given parameters.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, IReadOnlyList<ReaderColumn>, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

Creates a new parameter object for the given parameters.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, IReadOnlyList<ReaderColumn>, DbContext, IRelationalCommandDiagnosticsLogger, Boolean, CommandSource)

Creates a new parameter object for the given parameters.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, IReadOnlyList<ReaderColumn>, DbContext, IRelationalCommandDiagnosticsLogger, Boolean)

Creates a new parameter object for the given parameters.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, IReadOnlyList<ReaderColumn>, DbContext, IRelationalCommandDiagnosticsLogger, CommandSource)

Creates a new parameter object for the given parameters.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, IReadOnlyList<ReaderColumn>, DbContext, IRelationalCommandDiagnosticsLogger)

Creates a new parameter object for the given parameters.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Properties

CommandSource

Source of the command.

Connection

The connection on which the command will execute.

Context

The current DbContext instance, or null if it is not known.

DetailedErrorsEnabled

A value indicating if detailed errors are enabled.

Logger

A logger, or null if no logger is available.

ParameterValues

The SQL parameter values to use, or null if none.

ReaderColumns

The expected columns if the reader needs to be buffered, or null otherwise.

Methods

Equals(Object)
Equals(RelationalCommandParameterObject)
GetHashCode()
ToString()

Operators

Equality(RelationalCommandParameterObject, RelationalCommandParameterObject)
Inequality(RelationalCommandParameterObject, RelationalCommandParameterObject)

Applies to