语言

ModificationCommandParameters 结构

定义

用于创建 IModificationCommand 实例的参数。

此类型通常由数据库提供程序使用;应用程序代码中通常不使用它。

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

注解

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

构造函数

名称 说明
ModificationCommandParameters(ITable, Boolean, Boolean, IComparer<IUpdateEntry>, Func<String>, IDiagnosticsLogger<DbLoggerCategory.Update>)

创建新的 ModificationCommandParameters 实例。

ModificationCommandParameters(ITable, IStoreStoredProcedure, Boolean, Boolean, IComparer<IUpdateEntry>, Func<String>, IDiagnosticsLogger<DbLoggerCategory.Update>)

创建新的 ModificationCommandParameters 实例。

ModificationCommandParameters(String, String, Boolean, IComparer<IUpdateEntry>, Func<String>, IDiagnosticsLogger<DbLoggerCategory.Update>)

创建新的 ModificationCommandParameters 实例。

属性

名称 说明
Comparer

IComparer<T> 的 IUpdateEntry。

DetailedErrorsEnabled

指示是否应记录详细错误。

GenerateParameterName

用于生成参数名称的委托。

Logger

A IDiagnosticsLogger<TLoggerCategory> for DbLoggerCategory.Update.

Schema

包含表的架构,或使用 null 默认架构。

SensitiveLoggingEnabled

指示是否可以记录潜在的敏感数据(例如数据库值)。

StoreStoredProcedure

用于更新数据的存储过程。

Table

包含要修改的数据的表。

TableName

包含要修改的数据的表的名称。

方法

名称 说明
Equals(ModificationCommandParameters)

用于创建 IModificationCommand 实例的参数。

此类型通常由数据库提供程序使用;应用程序代码中通常不使用它。

Equals(Object)

用于创建 IModificationCommand 实例的参数。

此类型通常由数据库提供程序使用;应用程序代码中通常不使用它。

GetHashCode()

用于创建 IModificationCommand 实例的参数。

此类型通常由数据库提供程序使用;应用程序代码中通常不使用它。

ToString()

用于创建 IModificationCommand 实例的参数。

此类型通常由数据库提供程序使用;应用程序代码中通常不使用它。

运算符

名称 说明
Equality(ModificationCommandParameters, ModificationCommandParameters)

用于创建 IModificationCommand 实例的参数。

此类型通常由数据库提供程序使用;应用程序代码中通常不使用它。

Inequality(ModificationCommandParameters, ModificationCommandParameters)

用于创建 IModificationCommand 实例的参数。

此类型通常由数据库提供程序使用;应用程序代码中通常不使用它。

适用于