Share via


ModificationCommandParameters Struct

Definition

Parameters for creating a IModificationCommand instance.

This type is typically used by database providers; it is generally not used in application code.

[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct ModificationCommandParameters : IEquatable<Microsoft.EntityFrameworkCore.Update.ModificationCommandParameters>
[<System.Runtime.CompilerServices.IsReadOnly>]
type ModificationCommandParameters = struct
Public Structure ModificationCommandParameters
Implements IEquatable(Of ModificationCommandParameters)
Inheritance
ModificationCommandParameters
Attributes
Implements

Remarks

See Implementation of database providers and extensions for more information and examples.

Constructors

ModificationCommandParameters(ITable, Boolean, 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(String, String, Boolean, IComparer<IUpdateEntry>, Func<String>, IDiagnosticsLogger<DbLoggerCategory.Update>)

Creates a new ModificationCommandParameters instance.

Properties

Comparer

An IComparer<T> for IUpdateEntry.

DetailedErrorsEnabled

Indicates whether detailed errors should be logged.

GenerateParameterName

A delegate to generate parameter names.

Logger

A IDiagnosticsLogger<TLoggerCategory> for DbLoggerCategory.Update.

Schema

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

SensitiveLoggingEnabled

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

StoreStoredProcedure

The stored procedure to use for updating the data.

Table

The table containing the data to be modified.

TableName

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

Methods

Equals(ModificationCommandParameters)
Equals(Object)
GetHashCode()
ToString()

Operators

Equality(ModificationCommandParameters, ModificationCommandParameters)
Inequality(ModificationCommandParameters, ModificationCommandParameters)

Applies to