Condividi tramite


ModificationCommandParameters Costruttori

Definizione

Overload

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

Crea una nuova istanza di ModificationCommandParameters.

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

Crea una nuova istanza di ModificationCommandParameters.

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

Crea una nuova istanza di ModificationCommandParameters.

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

Origine:
ModificationCommandParameters.cs
Origine:
ModificationCommandParameters.cs
Origine:
ModificationCommandParameters.cs

Crea una nuova istanza di 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)

Parametri

table
ITable

Tabella contenente i dati da modificare.

sensitiveLoggingEnabled
Boolean

Indica se è possibile registrare dati potenzialmente sensibili ,ad esempio valori di database.

detailedErrorsEnabled
Boolean

Indica se devono essere registrati errori dettagliati.

comparer
IComparer<IUpdateEntry>

Oggetto IComparer<T> per la IUpdateEntry.

generateParameterName
Func<String>

Delegato per generare i nomi dei parametri.

Si applica a

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

Origine:
ModificationCommandParameters.cs

Crea una nuova istanza di 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)

Parametri

tableName
String

Nome della tabella contenente i dati da modificare.

schemaName
String

Schema contenente la tabella o null per usare lo schema predefinito.

sensitiveLoggingEnabled
Boolean

Indica se è possibile registrare dati potenzialmente sensibili ,ad esempio valori di database.

comparer
IComparer<IUpdateEntry>

Oggetto IComparer<T> per la IUpdateEntry.

generateParameterName
Func<String>

Delegato per generare i nomi dei parametri.

Si applica a

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

Origine:
ModificationCommandParameters.cs
Origine:
ModificationCommandParameters.cs
Origine:
ModificationCommandParameters.cs

Crea una nuova istanza di 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)

Parametri

table
ITable

Tabella contenente i dati da modificare.

storeStoredProcedure
IStoreStoredProcedure

Stored procedure da utilizzare per l'aggiornamento dei dati.

sensitiveLoggingEnabled
Boolean

Indica se è possibile registrare dati potenzialmente sensibili ,ad esempio valori di database.

detailedErrorsEnabled
Boolean

Indica se devono essere registrati errori dettagliati.

comparer
IComparer<IUpdateEntry>

Oggetto IComparer<T> per la IUpdateEntry.

generateParameterName
Func<String>

Delegato per generare i nomi dei parametri.

Si applica a