Share via


ModificationCommandParameters Constructors

Definition

Overloads

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

Creates a new ModificationCommandParameters instance.

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

Creates a new ModificationCommandParameters instance.

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

Creates a new ModificationCommandParameters instance.

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

Creates a new ModificationCommandParameters instance.

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)

Parameters

table
ITable

The table containing the data to be modified.

sensitiveLoggingEnabled
Boolean

Indicates whether potentially sensitive data (e.g. database values) can be logged.

detailedErrorsEnabled
Boolean

Indicates whether detailed errors should be logged.

generateParameterName
Func<String>

A delegate to generate parameter names.

Applies to

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

Creates a new ModificationCommandParameters instance.

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)

Parameters

tableName
String

The name of the table containing the data to be modified.

schemaName
String

The schema containing the table, or null to use the default schema.

sensitiveLoggingEnabled
Boolean

Indicates whether potentially sensitive data (e.g. database values) can be logged.

generateParameterName
Func<String>

A delegate to generate parameter names.

Applies to

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

Creates a new ModificationCommandParameters instance.

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)

Parameters

table
ITable

The table containing the data to be modified.

storeStoredProcedure
IStoreStoredProcedure

The stored procedure to use for updating the data.

sensitiveLoggingEnabled
Boolean

Indicates whether potentially sensitive data (e.g. database values) can be logged.

detailedErrorsEnabled
Boolean

Indicates whether detailed errors should be logged.

generateParameterName
Func<String>

A delegate to generate parameter names.

Applies to