Share via


ModificationCommand Constructors

Definition

Overloads

ModificationCommand(ModificationCommandParameters)

Initializes a new ModificationCommand instance.

ModificationCommand(NonTrackedModificationCommandParameters)

Initializes a new ModificationCommand instance.

ModificationCommand(String, String, IReadOnlyList<ColumnModification>)

Initializes a new ModificationCommand instance.

ModificationCommand(String, String, IReadOnlyList<ColumnModification>, Boolean)

Initializes a new ModificationCommand instance.

ModificationCommand(String, String, Func<String>, Func<IProperty,IRelationalPropertyAnnotations>)
ModificationCommand(String, String, Func<String>, Boolean, IComparer<IUpdateEntry>)

Initializes a new ModificationCommand instance.

ModificationCommand(ModificationCommandParameters)

Source:
ModificationCommand.cs
Source:
ModificationCommand.cs
Source:
ModificationCommand.cs
Source:
ModificationCommand.cs

Initializes a new ModificationCommand instance.

public ModificationCommand (in Microsoft.EntityFrameworkCore.Update.ModificationCommandParameters modificationCommandParameters);
new Microsoft.EntityFrameworkCore.Update.ModificationCommand : ModificationCommandParameters -> Microsoft.EntityFrameworkCore.Update.ModificationCommand
Public Sub New (ByRef modificationCommandParameters As ModificationCommandParameters)

Parameters

modificationCommandParameters
ModificationCommandParameters

Creation parameters.

Applies to

ModificationCommand(NonTrackedModificationCommandParameters)

Source:
ModificationCommand.cs
Source:
ModificationCommand.cs
Source:
ModificationCommand.cs

Initializes a new ModificationCommand instance.

public ModificationCommand (in Microsoft.EntityFrameworkCore.Update.NonTrackedModificationCommandParameters modificationCommandParameters);
new Microsoft.EntityFrameworkCore.Update.ModificationCommand : NonTrackedModificationCommandParameters -> Microsoft.EntityFrameworkCore.Update.ModificationCommand
Public Sub New (ByRef modificationCommandParameters As NonTrackedModificationCommandParameters)

Parameters

modificationCommandParameters
NonTrackedModificationCommandParameters

Creation parameters.

Applies to

ModificationCommand(String, String, IReadOnlyList<ColumnModification>)

Source:
ModificationCommand.cs
Source:
ModificationCommand.cs

Initializes a new ModificationCommand instance.

public ModificationCommand (string name, string schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> columnModifications);
new Microsoft.EntityFrameworkCore.Update.ModificationCommand : string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> -> Microsoft.EntityFrameworkCore.Update.ModificationCommand
Public Sub New (name As String, schema As String, columnModifications As IReadOnlyList(Of ColumnModification))

Parameters

name
String

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

schema
String

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

columnModifications
IReadOnlyList<ColumnModification>

The list of ColumnModifications needed to perform the insert, update, or delete.

Applies to

ModificationCommand(String, String, IReadOnlyList<ColumnModification>, Boolean)

Source:
ModificationCommand.cs
Source:
ModificationCommand.cs
Source:
ModificationCommand.cs

Initializes a new ModificationCommand instance.

public ModificationCommand (string name, string schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> columnModifications, bool sensitiveLoggingEnabled);
new Microsoft.EntityFrameworkCore.Update.ModificationCommand : string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> * bool -> Microsoft.EntityFrameworkCore.Update.ModificationCommand
Public Sub New (name As String, schema As String, columnModifications As IReadOnlyList(Of ColumnModification), sensitiveLoggingEnabled As Boolean)

Parameters

name
String

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

schema
String

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

columnModifications
IReadOnlyList<ColumnModification>

The list of ColumnModifications needed to perform the insert, update, or delete.

sensitiveLoggingEnabled
Boolean

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

Applies to

ModificationCommand(String, String, Func<String>, Func<IProperty,IRelationalPropertyAnnotations>)

public ModificationCommand (string name, string schema, Func<string> generateParameterName, Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations> getPropertyExtensions);
new Microsoft.EntityFrameworkCore.Update.ModificationCommand : string * string * Func<string> * Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations> -> Microsoft.EntityFrameworkCore.Update.ModificationCommand
Public Sub New (name As String, schema As String, generateParameterName As Func(Of String), getPropertyExtensions As Func(Of IProperty, IRelationalPropertyAnnotations))

Parameters

name
String
schema
String
generateParameterName
Func<String>

Applies to

ModificationCommand(String, String, Func<String>, Boolean, IComparer<IUpdateEntry>)

Source:
ModificationCommand.cs
Source:
ModificationCommand.cs
Source:
ModificationCommand.cs
Source:
ModificationCommand.cs
Source:
ModificationCommand.cs

Initializes a new ModificationCommand instance.

public ModificationCommand (string name, string schema, Func<string> generateParameterName, bool sensitiveLoggingEnabled, System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> comparer);
new Microsoft.EntityFrameworkCore.Update.ModificationCommand : string * string * Func<string> * bool * System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> -> Microsoft.EntityFrameworkCore.Update.ModificationCommand
Public Sub New (name As String, schema As String, generateParameterName As Func(Of String), sensitiveLoggingEnabled As Boolean, comparer As IComparer(Of IUpdateEntry))

Parameters

name
String

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

schema
String

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

generateParameterName
Func<String>

A delegate to generate parameter names.

sensitiveLoggingEnabled
Boolean

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

Applies to