ModificationCommand 构造函数

定义

重载

ModificationCommand(ModificationCommandParameters)

初始化一个新 ModificationCommand 实例。

ModificationCommand(NonTrackedModificationCommandParameters)

初始化一个新 ModificationCommand 实例。

ModificationCommand(String, String, IReadOnlyList<ColumnModification>)

初始化一个新 ModificationCommand 实例。

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

初始化一个新 ModificationCommand 实例。

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

初始化一个新 ModificationCommand 实例。

ModificationCommand(ModificationCommandParameters)

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

初始化一个新 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)

参数

modificationCommandParameters
ModificationCommandParameters

创建参数。

适用于

ModificationCommand(NonTrackedModificationCommandParameters)

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

初始化一个新 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)

参数

modificationCommandParameters
NonTrackedModificationCommandParameters

创建参数。

适用于

ModificationCommand(String, String, IReadOnlyList<ColumnModification>)

Source:
ModificationCommand.cs
Source:
ModificationCommand.cs

初始化一个新 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))

参数

name
String

包含要修改的数据的表的名称。

schema
String

包含表的架构,或使用 null 默认架构。

columnModifications
IReadOnlyList<ColumnModification>

执行插入、更新或删除所需的 列表 ColumnModification

适用于

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

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

初始化一个新 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)

参数

name
String

包含要修改的数据的表的名称。

schema
String

包含表的架构,或使用 null 默认架构。

columnModifications
IReadOnlyList<ColumnModification>

执行插入、更新或删除所需的 列表 ColumnModification

sensitiveLoggingEnabled
Boolean

指示是否可以记录 (潜在的敏感数据,例如数据库值) 。

适用于

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

参数

name
String
schema
String
generateParameterName
Func<String>

适用于

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

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

初始化一个新 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))

参数

name
String

包含要修改的数据的表的名称。

schema
String

包含表的架构,或使用 null 默认架构。

generateParameterName
Func<String>

用于生成参数名称的委托。

sensitiveLoggingEnabled
Boolean

指示是否可以记录 (潜在的敏感数据,例如数据库值) 。

适用于