ModificationCommandParameters Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
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.
Oggetto IDiagnosticsLogger<TLoggerCategory> per la DbLoggerCategory.Update.
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.
Oggetto IDiagnosticsLogger<TLoggerCategory> per la DbLoggerCategory.Update.
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.
Oggetto IDiagnosticsLogger<TLoggerCategory> per la DbLoggerCategory.Update.