Table of Contents

Struct NonTrackedModificationCommandParameters

Namespace
Microsoft.EntityFrameworkCore.Update
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Parameters for creating a INonTrackedModificationCommand instance.

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

public readonly struct NonTrackedModificationCommandParameters : IEquatable<NonTrackedModificationCommandParameters>
Implements
Inherited Members

Remarks

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

Constructors

NonTrackedModificationCommandParameters(ITable, bool)

Creates a new ModificationCommandParameters instance.

public NonTrackedModificationCommandParameters(ITable table, bool sensitiveLoggingEnabled)

Parameters

table ITable

The table containing the data to be modified.

sensitiveLoggingEnabled bool

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

NonTrackedModificationCommandParameters(string, string?, bool)

public NonTrackedModificationCommandParameters(string tableName, string? schemaName, bool sensitiveLoggingEnabled)

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 bool

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

Properties

Schema

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

public string? Schema { get; init; }

Property Value

string

SensitiveLoggingEnabled

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

public bool SensitiveLoggingEnabled { get; init; }

Property Value

bool

Table

The table containing the data to be modified.

public ITable? Table { get; init; }

Property Value

ITable

TableName

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

public string TableName { get; init; }

Property Value

string

Methods

Equals(NonTrackedModificationCommandParameters)

public bool Equals(NonTrackedModificationCommandParameters other)

Parameters

other NonTrackedModificationCommandParameters

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(NonTrackedModificationCommandParameters, NonTrackedModificationCommandParameters)

public static bool operator ==(NonTrackedModificationCommandParameters left, NonTrackedModificationCommandParameters right)

Parameters

left NonTrackedModificationCommandParameters
right NonTrackedModificationCommandParameters

Returns

bool

operator !=(NonTrackedModificationCommandParameters, NonTrackedModificationCommandParameters)

public static bool operator !=(NonTrackedModificationCommandParameters left, NonTrackedModificationCommandParameters right)

Parameters

left NonTrackedModificationCommandParameters
right NonTrackedModificationCommandParameters

Returns

bool