Partilhar via


ModificationCommandParameters Construtores

Definição

Sobrecargas

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

Cria uma nova instância ModificationCommandParameters.

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

Cria uma nova instância ModificationCommandParameters.

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

Cria uma nova instância ModificationCommandParameters.

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

Origem:
ModificationCommandParameters.cs
Origem:
ModificationCommandParameters.cs
Origem:
ModificationCommandParameters.cs

Cria uma nova instância 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)

Parâmetros

table
ITable

A tabela que contém os dados a serem modificados.

sensitiveLoggingEnabled
Boolean

Indica se dados potencialmente confidenciais (por exemplo, valores de banco de dados) podem ser registrados em log.

detailedErrorsEnabled
Boolean

Indica se erros detalhados devem ser registrados.

generateParameterName
Func<String>

Um delegado para gerar nomes de parâmetro.

Aplica-se a

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

Origem:
ModificationCommandParameters.cs

Cria uma nova instância 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)

Parâmetros

tableName
String

O nome da tabela que contém os dados a serem modificados.

schemaName
String

O esquema que contém a tabela ou null para usar o esquema padrão.

sensitiveLoggingEnabled
Boolean

Indica se dados potencialmente confidenciais (por exemplo, valores de banco de dados) podem ser registrados em log.

generateParameterName
Func<String>

Um delegado para gerar nomes de parâmetro.

Aplica-se a

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

Origem:
ModificationCommandParameters.cs
Origem:
ModificationCommandParameters.cs
Origem:
ModificationCommandParameters.cs

Cria uma nova instância 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)

Parâmetros

table
ITable

A tabela que contém os dados a serem modificados.

storeStoredProcedure
IStoreStoredProcedure

O procedimento armazenado a ser usado para atualizar os dados.

sensitiveLoggingEnabled
Boolean

Indica se dados potencialmente confidenciais (por exemplo, valores de banco de dados) podem ser registrados em log.

detailedErrorsEnabled
Boolean

Indica se erros detalhados devem ser registrados.

generateParameterName
Func<String>

Um delegado para gerar nomes de parâmetro.

Aplica-se a