共用方式為


ModificationCommandParameters 建構函式

定義

多載

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

建立新的 ModificationCommandParameters 執行個體。

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

建立新的 ModificationCommandParameters 執行個體。

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

建立新的 ModificationCommandParameters 執行個體。

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

來源:
ModificationCommandParameters.cs
來源:
ModificationCommandParameters.cs
來源:
ModificationCommandParameters.cs

建立新的 ModificationCommandParameters 執行個體。

public ModificationCommandParameters (Microsoft.EntityFrameworkCore.Metadata.ITable table, bool sensitiveLoggingEnabled, bool detailedErrorsEnabled = false, System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry>? comparer = default, Func<string>? generateParameterName = default, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update>? logger = default);
new Microsoft.EntityFrameworkCore.Update.ModificationCommandParameters : Microsoft.EntityFrameworkCore.Metadata.ITable * bool * bool * System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> * Func<string> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> -> Microsoft.EntityFrameworkCore.Update.ModificationCommandParameters
Public Sub New (table As ITable, sensitiveLoggingEnabled As Boolean, Optional detailedErrorsEnabled As Boolean = false, Optional comparer As IComparer(Of IUpdateEntry) = Nothing, Optional generateParameterName As Func(Of String) = Nothing, Optional logger As IDiagnosticsLogger(Of DbLoggerCategory.Update) = Nothing)

參數

table
ITable

包含要修改之資料的資料表。

sensitiveLoggingEnabled
Boolean

指出是否可以記錄可能 (敏感性資料,例如) 的資料庫值。

detailedErrorsEnabled
Boolean

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

generateParameterName
Func<String>

產生參數名稱的委派。

適用於

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

來源:
ModificationCommandParameters.cs

建立新的 ModificationCommandParameters 執行個體。

public ModificationCommandParameters (string tableName, string? schemaName, bool sensitiveLoggingEnabled, System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry>? comparer = default, Func<string>? generateParameterName = default, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update>? logger = default);
new Microsoft.EntityFrameworkCore.Update.ModificationCommandParameters : string * string * bool * System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> * Func<string> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> -> Microsoft.EntityFrameworkCore.Update.ModificationCommandParameters
Public Sub New (tableName As String, schemaName As String, sensitiveLoggingEnabled As Boolean, Optional comparer As IComparer(Of IUpdateEntry) = Nothing, Optional generateParameterName As Func(Of String) = Nothing, Optional logger As IDiagnosticsLogger(Of DbLoggerCategory.Update) = Nothing)

參數

tableName
String

包含要修改之資料的資料表名稱。

schemaName
String

包含資料表的架構,或使用 null 預設架構。

sensitiveLoggingEnabled
Boolean

指出是否可以記錄可能 (敏感性資料,例如) 的資料庫值。

generateParameterName
Func<String>

產生參數名稱的委派。

適用於

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

來源:
ModificationCommandParameters.cs
來源:
ModificationCommandParameters.cs
來源:
ModificationCommandParameters.cs

建立新的 ModificationCommandParameters 執行個體。

public ModificationCommandParameters (Microsoft.EntityFrameworkCore.Metadata.ITable table, Microsoft.EntityFrameworkCore.Metadata.IStoreStoredProcedure? storeStoredProcedure, bool sensitiveLoggingEnabled, bool detailedErrorsEnabled = false, System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry>? comparer = default, Func<string>? generateParameterName = default, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update>? logger = default);
new Microsoft.EntityFrameworkCore.Update.ModificationCommandParameters : Microsoft.EntityFrameworkCore.Metadata.ITable * Microsoft.EntityFrameworkCore.Metadata.IStoreStoredProcedure * bool * bool * System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> * Func<string> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> -> Microsoft.EntityFrameworkCore.Update.ModificationCommandParameters
Public Sub New (table As ITable, storeStoredProcedure As IStoreStoredProcedure, sensitiveLoggingEnabled As Boolean, Optional detailedErrorsEnabled As Boolean = false, Optional comparer As IComparer(Of IUpdateEntry) = Nothing, Optional generateParameterName As Func(Of String) = Nothing, Optional logger As IDiagnosticsLogger(Of DbLoggerCategory.Update) = Nothing)

參數

table
ITable

包含要修改之資料的資料表。

storeStoredProcedure
IStoreStoredProcedure

用於更新資料的預存程式。

sensitiveLoggingEnabled
Boolean

指出是否可以記錄可能 (敏感性資料,例如) 的資料庫值。

detailedErrorsEnabled
Boolean

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

generateParameterName
Func<String>

產生參數名稱的委派。

適用於