语言

RelationalCommandParameterObject 结构

定义

执行方法的参数 RelationalCommand对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct RelationalCommandParameterObject : IEquatable<Microsoft.EntityFrameworkCore.Storage.RelationalCommandParameterObject>
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct RelationalCommandParameterObject
public readonly struct RelationalCommandParameterObject
[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct RelationalCommandParameterObject
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalCommandParameterObject = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type RelationalCommandParameterObject = struct
type RelationalCommandParameterObject = struct
Public Structure RelationalCommandParameterObject
Implements IEquatable(Of RelationalCommandParameterObject)
Public Structure RelationalCommandParameterObject
继承
RelationalCommandParameterObject
特性
实现

注解

有关详细信息和示例,请参阅 数据库提供程序和扩展的实现 。

构造函数

名称 说明
RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)
已过时.

为给定参数创建新的参数对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

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

为给定参数创建新的参数对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

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

为给定参数创建新的参数对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

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

为给定参数创建新的参数对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

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

为给定参数创建新的参数对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

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

为给定参数创建新的参数对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

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

为给定参数创建新的参数对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

属性

名称 说明
CommandSource

命令的源。

Connection

命令将对其执行的连接。

Context

当前 DbContext 实例,或 null 未知。

DetailedErrorsEnabled

一个值,该值指示是否启用了详细错误。

Logger

记录器,或者 null 如果没有记录器可用。

ParameterValues

要使用的 SQL 参数值,或者 null 如果没有。

ReaderColumns

如果需要缓冲读取器,则 null 预期列。

方法

名称 说明
Equals(Object)

执行方法的参数 RelationalCommand对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

Equals(RelationalCommandParameterObject)

执行方法的参数 RelationalCommand对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

GetHashCode()

执行方法的参数 RelationalCommand对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

ToString()

执行方法的参数 RelationalCommand对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

运算符

名称 说明
Equality(RelationalCommandParameterObject, RelationalCommandParameterObject)

执行方法的参数 RelationalCommand对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

Inequality(RelationalCommandParameterObject, RelationalCommandParameterObject)

执行方法的参数 RelationalCommand对象。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

适用于