Compartilhar via


ModificationCommand Construtores

Definição

Sobrecargas

ModificationCommand(ModificationCommandParameters)

Inicializa uma nova instância ModificationCommand.

ModificationCommand(NonTrackedModificationCommandParameters)

Inicializa uma nova instância ModificationCommand.

ModificationCommand(String, String, IReadOnlyList<ColumnModification>)

Inicializa uma nova instância ModificationCommand.

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

Inicializa uma nova instância ModificationCommand.

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

Inicializa uma nova instância ModificationCommand.

ModificationCommand(ModificationCommandParameters)

Origem:
ModificationCommand.cs
Origem:
ModificationCommand.cs
Origem:
ModificationCommand.cs
Origem:
ModificationCommand.cs

Inicializa uma nova instância ModificationCommand.

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)

Parâmetros

modificationCommandParameters
ModificationCommandParameters

Parâmetros de criação.

Aplica-se a

ModificationCommand(NonTrackedModificationCommandParameters)

Origem:
ModificationCommand.cs
Origem:
ModificationCommand.cs
Origem:
ModificationCommand.cs

Inicializa uma nova instância ModificationCommand.

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)

Parâmetros

modificationCommandParameters
NonTrackedModificationCommandParameters

Parâmetros de criação.

Aplica-se a

ModificationCommand(String, String, IReadOnlyList<ColumnModification>)

Origem:
ModificationCommand.cs
Origem:
ModificationCommand.cs

Inicializa uma nova instância ModificationCommand.

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))

Parâmetros

name
String

O nome da tabela que contém os dados a serem modificados.

schema
String

O esquema que contém a tabela ou null para usar o esquema padrão.

columnModifications
IReadOnlyList<ColumnModification>

A lista de ColumnModifications necessária para executar a inserção, atualização ou exclusão.

Aplica-se a

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

Origem:
ModificationCommand.cs
Origem:
ModificationCommand.cs
Origem:
ModificationCommand.cs

Inicializa uma nova instância ModificationCommand.

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)

Parâmetros

name
String

O nome da tabela que contém os dados a serem modificados.

schema
String

O esquema que contém a tabela ou null para usar o esquema padrão.

columnModifications
IReadOnlyList<ColumnModification>

A lista de ColumnModifications necessária para executar a inserção, atualização ou exclusão.

sensitiveLoggingEnabled
Boolean

Indica se os dados potencialmente confidenciais (por exemplo, valores de banco de dados) podem ser registrados.

Aplica-se a

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))

Parâmetros

name
String
schema
String
generateParameterName
Func<String>

Aplica-se a

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

Origem:
ModificationCommand.cs
Origem:
ModificationCommand.cs
Origem:
ModificationCommand.cs
Origem:
ModificationCommand.cs
Origem:
ModificationCommand.cs

Inicializa uma nova instância ModificationCommand.

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))

Parâmetros

name
String

O nome da tabela que contém os dados a serem modificados.

schema
String

O esquema que contém a tabela ou null para usar o esquema padrão.

generateParameterName
Func<String>

Um delegado para gerar nomes de parâmetro.

sensitiveLoggingEnabled
Boolean

Indica se os dados potencialmente confidenciais (por exemplo, valores de banco de dados) podem ser registrados.

Aplica-se a