語言

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
屬性
實作

備註

更多資訊與範例請參見 資料庫提供者與擴充功能的實作 。

建構函式

名稱 Description
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 實例。

屬性

名稱 Description
Comparer

IComparer<T> IUpdateEntry。

DetailedErrorsEnabled

指示是否應該記錄詳細錯誤。

GenerateParameterName

一個代理來產生參數名稱。

Logger

A IDiagnosticsLogger<TLoggerCategory> 代表 DbLoggerCategory.Update。

Schema

包含該表格的結構,或 null 使用預設架構。

SensitiveLoggingEnabled

指示是否可以記錄潛在敏感資料(例如資料庫值)。

StoreStoredProcedure

用於更新資料的儲存程序。

Table

包含待修改資料的表格。

TableName

包含待修改資料的資料表名稱。

方法

名稱 Description
Equals(ModificationCommandParameters)

建立 IModificationCommand 實例的參數。

此類型通常由資料庫提供者使用;通常不在應用程式碼中使用。

Equals(Object)

建立 IModificationCommand 實例的參數。

此類型通常由資料庫提供者使用;通常不在應用程式碼中使用。

GetHashCode()

建立 IModificationCommand 實例的參數。

此類型通常由資料庫提供者使用;通常不在應用程式碼中使用。

ToString()

建立 IModificationCommand 實例的參數。

此類型通常由資料庫提供者使用;通常不在應用程式碼中使用。

運算子

名稱 Description
Equality(ModificationCommandParameters, ModificationCommandParameters)

建立 IModificationCommand 實例的參數。

此類型通常由資料庫提供者使用;通常不在應用程式碼中使用。

Inequality(ModificationCommandParameters, ModificationCommandParameters)

建立 IModificationCommand 實例的參數。

此類型通常由資料庫提供者使用;通常不在應用程式碼中使用。

適用於