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
ITableThe table containing the data to be modified.
sensitiveLoggingEnabled
boolIndicates whether potentially sensitive data (e.g. database values) can be logged.
NonTrackedModificationCommandParameters(string, string?, bool)
Creates a new NonTrackedModificationCommandParameters instance.
public NonTrackedModificationCommandParameters(string tableName, string? schemaName, bool sensitiveLoggingEnabled)
Parameters
tableName
stringThe name of the table containing the data to be modified.
schemaName
stringThe schema containing the table, or null to use the default schema.
sensitiveLoggingEnabled
boolIndicates 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
SensitiveLoggingEnabled
Indicates whether potentially sensitive data (e.g. database values) can be logged.
public bool SensitiveLoggingEnabled { get; init; }
Property Value
Table
The table containing the data to be modified.
public ITable? Table { get; init; }
Property Value
TableName
The name of the table containing the data to be modified.
public string TableName { get; init; }
Property Value
Methods
Equals(NonTrackedModificationCommandParameters)
public bool Equals(NonTrackedModificationCommandParameters other)
Parameters
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(NonTrackedModificationCommandParameters, NonTrackedModificationCommandParameters)
public static bool operator ==(NonTrackedModificationCommandParameters left, NonTrackedModificationCommandParameters right)
Parameters
Returns
operator !=(NonTrackedModificationCommandParameters, NonTrackedModificationCommandParameters)
public static bool operator !=(NonTrackedModificationCommandParameters left, NonTrackedModificationCommandParameters right)